Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.001029/0.001028, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008991/0.0008985, allocations: 78.69 kB / 261.7 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2186/0.2186, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.104e-05, allocations: 4 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 58.86 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4097/0.5341, allocations: 86.94 MB / 0.5509 GB, free: 7.973 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.5344, allocations: 80.08 kB / 0.551 GB, free: 7.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01315/0.5476, allocations: 5.534 MB / 0.5564 GB, free: 3.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5476, allocations: 0 / 0.5564 GB, free: 3.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.5476, allocations: 0 / 0.5564 GB, free: 3.527 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003666/0.548, allocations: 409.6 kB / 0.5568 GB, free: 3.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5481, allocations: 8.031 kB / 0.5568 GB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.5481, allocations: 19.81 kB / 0.5568 GB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.5484, allocations: 224.4 kB / 0.5571 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.5484, allocations: 0 / 0.5571 GB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.5484, allocations: 7.938 kB / 0.5571 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.311e-05/0.5485, allocations: 15.36 kB / 0.5571 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.137e-05/0.5486, allocations: 48.31 kB / 0.5571 GB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.5486, allocations: 3.984 kB / 0.5571 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5486, allocations: 0 / 0.5571 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.5487, allocations: 0 / 0.5571 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.549, allocations: 284 kB / 0.5574 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.5491, allocations: 54.44 kB / 0.5575 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.216e-05/0.5492, allocations: 16.8 kB / 0.5575 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.5492, allocations: 0 / 0.5575 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.5493, allocations: 70.83 kB / 0.5575 GB, free: 2.312 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.5493, allocations: 0 / 0.5575 GB, free: 2.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004379/0.5498, allocations: 152 kB / 0.5577 GB, free: 2.184 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.5498, allocations: 51.41 kB / 0.5577 GB, free: 2.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.55, allocations: 212 kB / 0.5579 GB, free: 1.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.55, allocations: 29.64 kB / 0.558 GB, free: 1.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.55, allocations: 103.2 kB / 0.5581 GB, free: 1.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.5501, allocations: 23.53 kB / 0.5581 GB, free: 1.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.5501, allocations: 0 / 0.5581 GB, free: 1.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.5501, allocations: 330 kB / 0.5584 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.883e-05/0.5502, allocations: 19.75 kB / 0.5584 GB, free: 1.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.5502, allocations: 33.33 kB / 0.5584 GB, free: 1.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.5503, allocations: 19.75 kB / 0.5585 GB, free: 1.406 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5503, allocations: 0 / 0.5585 GB, free: 1.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001092/0.5504, allocations: 89.2 kB / 0.5586 GB, free: 1.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5504, allocations: 8 kB / 0.5586 GB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5504, allocations: 4.031 kB / 0.5586 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.5504, allocations: 0 / 0.5586 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.426e-05/0.5505, allocations: 19.97 kB / 0.5586 GB, free: 1.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.5505, allocations: 4.188 kB / 0.5586 GB, free: 1.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.561e-05/0.5506, allocations: 4 kB / 0.5586 GB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.5506, allocations: 11.89 kB / 0.5586 GB, free: 1.273 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.409e-05/0.5506, allocations: 110.1 kB / 0.5587 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001087/0.5508, allocations: 97 kB / 0.5588 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.5508, allocations: 15.81 kB / 0.5588 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.551, allocations: 114.6 kB / 0.5589 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.551, allocations: 0 / 0.5589 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.551, allocations: 3.953 kB / 0.5589 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.551, allocations: 4 kB / 0.5589 GB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.5513, allocations: 381.6 kB / 0.5593 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.5513, allocations: 0 / 0.5593 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.5513, allocations: 15.86 kB / 0.5593 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5513, allocations: 32 / 0.5593 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.5514, allocations: 8 kB / 0.5593 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5514, allocations: 3.953 kB / 0.5593 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5514, allocations: 0 / 0.5593 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.5515, allocations: 221 kB / 0.5595 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.5516, allocations: 96.81 kB / 0.5596 GB, free: 224 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.5516, allocations: 3.953 kB / 0.5596 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.5517, allocations: 8 kB / 0.5596 GB, free: 212 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.5517, allocations: 7.984 kB / 0.5596 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.5517, allocations: 3.438 kB / 0.5596 GB, free: 204 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.769e-05/0.5518, allocations: 161.1 kB / 0.5598 GB, free: 68 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5518, allocations: 0 / 0.5598 GB, free: 68 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002446/0.5521, allocations: 35.92 kB / 0.5598 GB, free: 32 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001239/0.5533, allocations: 1.1 MB / 0.5609 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.5535, allocations: 55.19 kB / 0.561 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5535, allocations: 0 / 0.561 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.5535, allocations: 27.42 kB / 0.561 GB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.5538, allocations: 20.11 kB / 0.561 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.5543, allocations: 254.9 kB / 0.5613 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.5547, allocations: 0.7155 MB / 0.5619 GB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.962e-05/0.5547, allocations: 20.55 kB / 0.562 GB, free: 13.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.5548, allocations: 38.73 kB / 0.562 GB, free: 13.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5548, allocations: 0 / 0.562 GB, free: 13.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.5773, allocations: 2.853 MB / 0.5648 GB, free: 11.02 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.5776, allocations: 170.4 kB / 0.565 GB, free: 10.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.089, allocations: 4 kB / 0.565 GB, free: 10.82 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat does not exist to compare? outputFormat=mat