Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001951/0.001951, allocations: 183.1 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.707/1.707, 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.001265/0.001265, allocations: 86.84 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.2606/0.2606, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 16 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 58.86 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.6189, allocations: 87.82 MB / 0.5646 GB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6193, allocations: 74.52 kB / 0.5647 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02125/0.6405, allocations: 7.688 MB / 0.5722 GB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6406, allocations: 0 / 0.5722 GB, free: 5.262 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.945e-05/0.6406, allocations: 8 kB / 0.5722 GB, free: 5.254 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.0009103/0.6415, allocations: 0.5359 MB / 0.5727 GB, free: 4.688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.6416, allocations: 8.031 kB / 0.5727 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.6417, allocations: 42.36 kB / 0.5728 GB, free: 4.633 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.6418, allocations: 31.67 kB / 0.5728 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.6423, allocations: 290.4 kB / 0.5731 GB, free: 4.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.6423, allocations: 7.938 kB / 0.5731 GB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.6424, allocations: 4 kB / 0.5731 GB, free: 4.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.6426, allocations: 98.92 kB / 0.5732 GB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.6426, allocations: 7.875 kB / 0.5732 GB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.6427, allocations: 0 / 0.5732 GB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.6427, allocations: 4 kB / 0.5732 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.6428, allocations: 47.28 kB / 0.5733 GB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008067/0.6436, allocations: 470 kB / 0.5737 GB, free: 3.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.6439, allocations: 115.5 kB / 0.5738 GB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.644, allocations: 11.94 kB / 0.5738 GB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.6442, allocations: 114.1 kB / 0.5739 GB, free: 3.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.6443, allocations: 0 / 0.5739 GB, free: 3.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001072/0.6453, allocations: 384.7 kB / 0.5743 GB, free: 3.129 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.6454, allocations: 81.11 kB / 0.5744 GB, free: 3.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.6459, allocations: 391.9 kB / 0.5747 GB, free: 2.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.6459, allocations: 33.58 kB / 0.5748 GB, free: 2.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.6461, allocations: 146.6 kB / 0.5749 GB, free: 2.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.6461, allocations: 50.98 kB / 0.575 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.6461, allocations: 3.625 kB / 0.575 GB, free: 2.527 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6463, allocations: 342.6 kB / 0.5753 GB, free: 2.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.6464, allocations: 43.34 kB / 0.5753 GB, free: 2.168 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.6465, allocations: 79.83 kB / 0.5754 GB, free: 2.098 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.6466, allocations: 50.89 kB / 0.5755 GB, free: 2.066 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6466, allocations: 0 / 0.5755 GB, free: 2.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003502/0.647, allocations: 188.4 kB / 0.5756 GB, free: 1.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.6471, allocations: 15.44 kB / 0.5757 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6471, allocations: 7.984 kB / 0.5757 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.6471, allocations: 0 / 0.5757 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.6473, allocations: 39.67 kB / 0.5757 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.6473, allocations: 0 / 0.5757 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.96e-05/0.6474, allocations: 7.906 kB / 0.5757 GB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.6474, allocations: 15.55 kB / 0.5757 GB, free: 1.836 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.0001759/0.6476, allocations: 161.2 kB / 0.5759 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.6477, allocations: 39.64 kB / 0.5759 GB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.6481, allocations: 217.9 kB / 0.5761 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6482, allocations: 4 kB / 0.5761 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6482, allocations: 0 / 0.5761 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.6482, allocations: 0 / 0.5761 GB, free: 1.465 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.6493, allocations: 0.6865 MB / 0.5768 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6493, allocations: 0 / 0.5768 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.6494, allocations: 23.92 kB / 0.5768 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.6494, allocations: 4 kB / 0.5768 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.6494, allocations: 7.75 kB / 0.5768 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6494, allocations: 0 / 0.5768 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6494, allocations: 0 / 0.5768 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.65, allocations: 423.4 kB / 0.5772 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.6502, allocations: 120.6 kB / 0.5774 GB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.6502, allocations: 11.52 kB / 0.5774 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.6504, allocations: 15.86 kB / 0.5774 GB, free: 216 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/0.6505, allocations: 11.98 kB / 0.5774 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.6505, allocations: 4 kB / 0.5774 GB, free: 200 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003722/0.6509, allocations: 320.2 kB / 0.5777 GB, free: 15.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6509, allocations: 0 / 0.5777 GB, free: 15.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004156/0.6513, allocations: 55.62 kB / 0.5778 GB, free: 15.91 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.001932/0.6532, allocations: 1.521 MB / 0.5792 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003038/0.6536, allocations: 134.4 kB / 0.5794 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6536, allocations: 0 / 0.5794 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6537, allocations: 57.8 kB / 0.5794 GB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.6541, allocations: 65.02 kB / 0.5795 GB, free: 14.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.6568, allocations: 1.974 MB / 0.5814 GB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.6572, allocations: 0.771 MB / 0.5822 GB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.6573, allocations: 41.39 kB / 0.5822 GB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.6575, allocations: 96.08 kB / 0.5823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of SimCode: time 6.02e-07/0.6575, allocations: 0 / 0.5823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.6768, allocations: 5.549 MB / 0.5877 GB, free: 5.98 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.6771, allocations: 217.6 kB / 0.5879 GB, free: 5.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.684, allocations: 3.938 kB / 0.5879 GB, free: 5.727 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat