Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.00262/0.00262, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.799/1.799, 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.0008967/0.0008966, allocations: 90.88 kB / 270.2 MB, free: 13.37 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.2197/0.2197, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.000298, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1083, allocations: 58.86 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3188/0.4271, allocations: 88.71 MB / 0.5655 GB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4273, allocations: 76.09 kB / 0.5656 GB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01156/0.4389, allocations: 4.263 MB / 0.5697 GB, free: 7.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.439, allocations: 4 kB / 0.5697 GB, free: 7.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.439, allocations: 8 kB / 0.5697 GB, free: 7.387 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005876/0.4396, allocations: 468.2 kB / 0.5702 GB, free: 6.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4396, allocations: 12.03 kB / 0.5702 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.4397, allocations: 34.31 kB / 0.5702 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.4397, allocations: 19.81 kB / 0.5702 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.44, allocations: 240.3 kB / 0.5705 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4401, allocations: 3.188 kB / 0.5705 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.4401, allocations: 8 kB / 0.5705 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.4403, allocations: 115.6 kB / 0.5706 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4403, allocations: 0 / 0.5706 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.4403, allocations: 0 / 0.5706 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4404, allocations: 0 / 0.5706 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.4405, allocations: 54.72 kB / 0.5706 GB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.4411, allocations: 0.5257 MB / 0.5712 GB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.4414, allocations: 91.41 kB / 0.5712 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.4414, allocations: 0 / 0.5712 GB, free: 5.766 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.4416, allocations: 91.08 kB / 0.5713 GB, free: 5.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.4416, allocations: 0 / 0.5713 GB, free: 5.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003733/0.442, allocations: 149.9 kB / 0.5715 GB, free: 5.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.442, allocations: 51.41 kB / 0.5715 GB, free: 5.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.4422, allocations: 175.1 kB / 0.5717 GB, free: 5.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.4422, allocations: 33.33 kB / 0.5717 GB, free: 5.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.4423, allocations: 118.8 kB / 0.5718 GB, free: 5.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.4424, allocations: 26.39 kB / 0.5719 GB, free: 5.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-06/0.4424, allocations: 3.188 kB / 0.5719 GB, free: 5.156 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4425, allocations: 324.8 kB / 0.5722 GB, free: 4.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.4426, allocations: 38.09 kB / 0.5722 GB, free: 4.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.4427, allocations: 73.25 kB / 0.5723 GB, free: 4.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9e-05/0.4428, allocations: 33.11 kB / 0.5723 GB, free: 4.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4428, allocations: 0 / 0.5723 GB, free: 4.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002527/0.443, allocations: 144.8 kB / 0.5725 GB, free: 4.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4431, allocations: 10.66 kB / 0.5725 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4431, allocations: 0 / 0.5725 GB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4431, allocations: 7.953 kB / 0.5725 GB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.4432, allocations: 23.92 kB / 0.5725 GB, free: 4.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.4432, allocations: 4 kB / 0.5725 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.4433, allocations: 23.5 kB / 0.5725 GB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.4433, allocations: 8 kB / 0.5725 GB, free: 4.512 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001015/0.4434, allocations: 128.7 kB / 0.5727 GB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.4435, allocations: 7.906 kB / 0.5727 GB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.4438, allocations: 139.9 kB / 0.5728 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4438, allocations: 7.953 kB / 0.5728 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4438, allocations: 0 / 0.5728 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4438, allocations: 4 kB / 0.5728 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.444, allocations: 222 kB / 0.573 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.444, allocations: 0 / 0.573 GB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.446e-05/0.4441, allocations: 15.98 kB / 0.573 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4441, allocations: 4 kB / 0.573 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4442, allocations: 0 / 0.573 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4442, allocations: 0 / 0.573 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4442, allocations: 4.141 kB / 0.573 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.4446, allocations: 204.9 kB / 0.5732 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.4446, allocations: 92.59 kB / 0.5733 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.4447, allocations: 4 kB / 0.5733 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.4447, allocations: 8 kB / 0.5733 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.4448, allocations: 11.05 kB / 0.5733 GB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.4448, allocations: 12.02 kB / 0.5734 GB, free: 3.656 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.4449, allocations: 138.6 kB / 0.5735 GB, free: 3.539 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4449, allocations: 0 / 0.5735 GB, free: 3.539 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.4452, allocations: 46.78 kB / 0.5735 GB, free: 3.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001527/0.4467, allocations: 1.035 MB / 0.5745 GB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.447, allocations: 84.83 kB / 0.5746 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.447, allocations: 0 / 0.5746 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.4471, allocations: 48.66 kB / 0.5747 GB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.4474, allocations: 34.91 kB / 0.5747 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4491, allocations: 1.453 MB / 0.5761 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.4494, allocations: 0.7278 MB / 0.5768 GB, free: 236 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.406e-05/0.4495, allocations: 25.06 kB / 0.5769 GB, free: 212 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.4496, allocations: 42.11 kB / 0.5769 GB, free: 192 kB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4496, allocations: 0 / 0.5769 GB, free: 192 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.463, allocations: 3.316 MB / 0.5801 GB, free: 12.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.4633, allocations: 213.7 kB / 0.5803 GB, free: 12.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.063, allocations: 0 / 0.5803 GB, free: 12.65 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat