Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008894/0.0008891, allocations: 90.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2396/0.2396, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1295, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.5286, allocations: 87.82 MB / 0.5646 GB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.5289, allocations: 75.03 kB / 0.5647 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02079/0.5497, allocations: 7.846 MB / 0.5724 GB, free: 5.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5497, allocations: 0 / 0.5724 GB, free: 5.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.5498, allocations: 7.984 kB / 0.5724 GB, free: 5.125 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007507/0.5505, allocations: 0.5486 MB / 0.5729 GB, free: 4.543 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5506, allocations: 12.03 kB / 0.5729 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.5506, allocations: 42.48 kB / 0.573 GB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.5507, allocations: 31.58 kB / 0.573 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.5512, allocations: 310 kB / 0.5733 GB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.5513, allocations: 0 / 0.5733 GB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.5513, allocations: 4 kB / 0.5733 GB, free: 4.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.5515, allocations: 106 kB / 0.5734 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.5515, allocations: 0 / 0.5734 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.5515, allocations: 0 / 0.5734 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.5516, allocations: 11.94 kB / 0.5734 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.5517, allocations: 51.36 kB / 0.5734 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.5524, allocations: 473.6 kB / 0.5739 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.5527, allocations: 123.8 kB / 0.574 GB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.5527, allocations: 0 / 0.574 GB, free: 3.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/0.553, allocations: 119 kB / 0.5741 GB, free: 3.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.553, allocations: 4 kB / 0.5741 GB, free: 3.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009187/0.5539, allocations: 384.6 kB / 0.5745 GB, free: 2.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.554, allocations: 85.05 kB / 0.5746 GB, free: 2.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.5544, allocations: 432.7 kB / 0.575 GB, free: 2.504 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.5545, allocations: 29.64 kB / 0.575 GB, free: 2.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.5546, allocations: 162 kB / 0.5752 GB, free: 2.359 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.5546, allocations: 51.22 kB / 0.5752 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-06/0.5546, allocations: 3.562 kB / 0.5752 GB, free: 2.316 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5548, allocations: 350.4 kB / 0.5756 GB, free: 1.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.623e-05/0.5549, allocations: 43.55 kB / 0.5756 GB, free: 1.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.555, allocations: 71.77 kB / 0.5757 GB, free: 1.887 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.5551, allocations: 54.95 kB / 0.5757 GB, free: 1.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.5551, allocations: 4 kB / 0.5757 GB, free: 1.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003236/0.5555, allocations: 191.4 kB / 0.5759 GB, free: 1.691 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.5555, allocations: 11.94 kB / 0.5759 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.5555, allocations: 0 / 0.5759 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5555, allocations: 4 kB / 0.5759 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.5557, allocations: 32.72 kB / 0.576 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5557, allocations: 4 kB / 0.576 GB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.372e-05/0.5558, allocations: 7.812 kB / 0.576 GB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.5558, allocations: 4.062 kB / 0.576 GB, free: 1.633 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.5559, allocations: 181.1 kB / 0.5761 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.556, allocations: 35.61 kB / 0.5762 GB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.5564, allocations: 214.1 kB / 0.5764 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5564, allocations: 8.188 kB / 0.5764 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5565, allocations: 0 / 0.5764 GB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5565, allocations: 3.938 kB / 0.5764 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.5574, allocations: 0.7058 MB / 0.5771 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5574, allocations: 4 kB / 0.5771 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/0.5575, allocations: 19.98 kB / 0.5771 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5575, allocations: 4 kB / 0.5771 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5575, allocations: 7.859 kB / 0.5771 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.5575, allocations: 8.062 kB / 0.5771 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5575, allocations: 11.98 kB / 0.5771 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.5579, allocations: 418.6 kB / 0.5775 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.5581, allocations: 124.5 kB / 0.5777 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.5581, allocations: 15.7 kB / 0.5777 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.5583, allocations: 8 kB / 0.5777 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.5583, allocations: 15.8 kB / 0.5777 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.5584, allocations: 7.984 kB / 0.5777 GB, free: 15.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003395/0.5587, allocations: 349.9 kB / 0.578 GB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5587, allocations: 3.938 kB / 0.578 GB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.5591, allocations: 66.98 kB / 0.5781 GB, free: 15.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001835/0.5609, allocations: 1.519 MB / 0.5796 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002881/0.5612, allocations: 119.7 kB / 0.5797 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5612, allocations: 0 / 0.5797 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.5614, allocations: 65.91 kB / 0.5798 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.5618, allocations: 49.89 kB / 0.5798 GB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.5644, allocations: 2.105 MB / 0.5819 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.5648, allocations: 0.7859 MB / 0.5826 GB, free: 11.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001185/0.565, allocations: 41.64 kB / 0.5827 GB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.5651, allocations: 94.78 kB / 0.5828 GB, free: 11.14 MB / 394.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5651, allocations: 0 / 0.5828 GB, free: 11.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.585, allocations: 5.861 MB / 0.5885 GB, free: 5.293 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.5855, allocations: 213.8 kB / 0.5887 GB, free: 5.047 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.576, allocations: 4 kB / 0.5887 GB, free: 5.043 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat