Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.00161/0.00161, allocations: 180.9 kB / 8.006 MB, free: 1.07 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.425/1.425, 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.0008524/0.0008526, allocations: 82.31 kB / 261.7 MB, free: 1.688 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.2021/0.2021, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.484e-05/2.486e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.5076, allocations: 86.96 MB / 0.551 GB, free: 7.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.5078, allocations: 79.23 kB / 0.551 GB, free: 7.621 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.5203, allocations: 5.32 MB / 0.5562 GB, free: 3.422 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5203, allocations: 4 kB / 0.5562 GB, free: 3.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.5204, allocations: 3.938 kB / 0.5562 GB, free: 3.414 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.0003754/0.5207, allocations: 397.8 kB / 0.5566 GB, free: 2.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5208, allocations: 12.03 kB / 0.5566 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.5208, allocations: 7.906 kB / 0.5566 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.5211, allocations: 219.5 kB / 0.5568 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.5211, allocations: 0 / 0.5568 GB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.5212, allocations: 4 kB / 0.5569 GB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.099e-05/0.5212, allocations: 19 kB / 0.5569 GB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.649e-05/0.5213, allocations: 53.09 kB / 0.5569 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5213, allocations: 0 / 0.5569 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5214, allocations: 0 / 0.5569 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5214, allocations: 0 / 0.5569 GB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.5217, allocations: 269.5 kB / 0.5572 GB, free: 2.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.614e-05/0.5218, allocations: 52.5 kB / 0.5572 GB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.5218, allocations: 22.61 kB / 0.5572 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.5218, allocations: 0 / 0.5572 GB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.5219, allocations: 65.08 kB / 0.5573 GB, free: 2.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.522, allocations: 0 / 0.5573 GB, free: 2.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003803/0.5223, allocations: 153.3 kB / 0.5575 GB, free: 2.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.903e-05/0.5224, allocations: 55.34 kB / 0.5575 GB, free: 2.039 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.5225, allocations: 177.6 kB / 0.5577 GB, free: 1.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.5225, allocations: 25.7 kB / 0.5577 GB, free: 1.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.182e-05/0.5226, allocations: 103.8 kB / 0.5578 GB, free: 1.762 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.5226, allocations: 18.84 kB / 0.5578 GB, free: 1.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5226, allocations: 0 / 0.5578 GB, free: 1.746 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.5227, allocations: 322.8 kB / 0.5581 GB, free: 1.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.5227, allocations: 18.25 kB / 0.5581 GB, free: 1.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.5227, allocations: 36.77 kB / 0.5582 GB, free: 1.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.717e-05/0.5228, allocations: 23 kB / 0.5582 GB, free: 1.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.5228, allocations: 0 / 0.5582 GB, free: 1.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001191/0.5229, allocations: 95.3 kB / 0.5583 GB, free: 1.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5229, allocations: 4 kB / 0.5583 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.523, allocations: 0 / 0.5583 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.523, allocations: 0 / 0.5583 GB, free: 1.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5231, allocations: 19.94 kB / 0.5583 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.5231, allocations: 3.984 kB / 0.5583 GB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.551e-05/0.5231, allocations: 4 kB / 0.5583 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.5232, allocations: 11.48 kB / 0.5583 GB, free: 1.238 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.243e-05/0.5232, allocations: 105 kB / 0.5584 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001181/0.5233, allocations: 94.61 kB / 0.5585 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.5234, allocations: 11.81 kB / 0.5585 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.5235, allocations: 115.8 kB / 0.5586 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5236, allocations: 4 kB / 0.5586 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5236, allocations: 4.141 kB / 0.5587 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5236, allocations: 0 / 0.5587 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.5239, allocations: 381.5 kB / 0.559 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5239, allocations: 0 / 0.559 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.5239, allocations: 11.98 kB / 0.559 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.5239, allocations: 0 / 0.559 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5239, allocations: 4 kB / 0.559 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.524, allocations: 7.891 kB / 0.559 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.524, allocations: 0 / 0.559 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.5241, allocations: 210.1 kB / 0.5592 GB, free: 320 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.5242, allocations: 96.91 kB / 0.5593 GB, free: 204 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.5242, allocations: 7.172 kB / 0.5593 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.5243, allocations: 15.81 kB / 0.5594 GB, free: 184 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.5243, allocations: 3.984 kB / 0.5594 GB, free: 180 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.5244, allocations: 4 kB / 0.5594 GB, free: 176 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.945e-05/0.5245, allocations: 142.1 kB / 0.5595 GB, free: 52 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5245, allocations: 0 / 0.5595 GB, free: 52 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.5247, allocations: 27.81 kB / 0.5595 GB, free: 28 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.001306/0.526, allocations: 1.083 MB / 0.5606 GB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.5262, allocations: 58.42 kB / 0.5606 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5262, allocations: 4.062 kB / 0.5606 GB, free: 14.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.002e-05/0.5262, allocations: 27.75 kB / 0.5607 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.0002616/0.5265, allocations: 22.92 kB / 0.5607 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.5271, allocations: 232.7 kB / 0.5609 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.5274, allocations: 0.708 MB / 0.5616 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.7e-05/0.5274, allocations: 16.86 kB / 0.5616 GB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.699e-05/0.5275, allocations: 36.73 kB / 0.5617 GB, free: 13.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5275, allocations: 0 / 0.5617 GB, free: 13.88 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.5503, allocations: 2.652 MB / 0.5642 GB, free: 11.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/0.5507, allocations: 170.5 kB / 0.5644 GB, free: 11.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.059, allocations: 0 / 0.5644 GB, free: 11.04 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat