Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.001103/0.001103, allocations: 185.2 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.336/1.336, 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.0008887/0.0008887, allocations: 86.86 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.2331/0.2331, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 16 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.6243, allocations: 87.71 MB / 0.5645 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/0.6246, allocations: 74.84 kB / 0.5646 GB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.6411, allocations: 5.679 MB / 0.5701 GB, free: 7.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.6411, allocations: 0 / 0.5701 GB, free: 7.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.6412, allocations: 0 / 0.5701 GB, free: 7.082 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006535/0.6418, allocations: 450.5 kB / 0.5706 GB, free: 6.602 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.6419, allocations: 8.031 kB / 0.5706 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.838e-05/0.642, allocations: 38.19 kB / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.642, allocations: 15.81 kB / 0.5706 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.6424, allocations: 229.9 kB / 0.5708 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.6425, allocations: 4 kB / 0.5708 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.6425, allocations: 7.75 kB / 0.5709 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.6427, allocations: 52.98 kB / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.6427, allocations: 0 / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.6427, allocations: 0 / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.6427, allocations: 0 / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.6428, allocations: 23.67 kB / 0.5709 GB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.6434, allocations: 321.8 kB / 0.5712 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.6436, allocations: 57.61 kB / 0.5713 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.6436, allocations: 0 / 0.5713 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.6438, allocations: 76.48 kB / 0.5714 GB, free: 5.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.6438, allocations: 3.938 kB / 0.5714 GB, free: 5.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006831/0.6445, allocations: 190.7 kB / 0.5715 GB, free: 5.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.6446, allocations: 51.41 kB / 0.5716 GB, free: 5.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.6449, allocations: 231.7 kB / 0.5718 GB, free: 5.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6449, allocations: 37.19 kB / 0.5719 GB, free: 5.258 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.645, allocations: 101 kB / 0.5719 GB, free: 5.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.645, allocations: 28.95 kB / 0.572 GB, free: 5.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/0.6451, allocations: 8 kB / 0.572 GB, free: 5.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6452, allocations: 324.6 kB / 0.5723 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.6453, allocations: 24.05 kB / 0.5723 GB, free: 4.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.6454, allocations: 33.33 kB / 0.5723 GB, free: 4.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.389e-05/0.6454, allocations: 21.45 kB / 0.5724 GB, free: 4.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6454, allocations: 0 / 0.5724 GB, free: 4.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000216/0.6457, allocations: 118 kB / 0.5725 GB, free: 4.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.6457, allocations: 15.47 kB / 0.5725 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6457, allocations: 0 / 0.5725 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.6457, allocations: 0 / 0.5725 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.919e-05/0.6458, allocations: 15.98 kB / 0.5725 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.6458, allocations: 11.89 kB / 0.5725 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.086e-05/0.6459, allocations: 0 / 0.5725 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.6459, allocations: 4 kB / 0.5725 GB, free: 4.617 MB / 378.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 () * Number of clocked 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 0.0001306/0.6461, allocations: 138.9 kB / 0.5727 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.6461, allocations: 19.81 kB / 0.5727 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/0.6464, allocations: 123.3 kB / 0.5728 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6464, allocations: 0 / 0.5728 GB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6464, allocations: 4 kB / 0.5728 GB, free: 4.352 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6464, allocations: 3.953 kB / 0.5728 GB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.6471, allocations: 434.9 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6471, allocations: 384 / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.6471, allocations: 12.03 kB / 0.5732 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.6471, allocations: 4.281 kB / 0.5732 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.6472, allocations: 4 kB / 0.5732 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.6472, allocations: 7.891 kB / 0.5732 GB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6472, allocations: 7.938 kB / 0.5733 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.6475, allocations: 225 kB / 0.5735 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.673e-05/0.6476, allocations: 104.9 kB / 0.5736 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.6476, allocations: 7.891 kB / 0.5736 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.6477, allocations: 4 kB / 0.5736 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.6478, allocations: 7.984 kB / 0.5736 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.6478, allocations: 0 / 0.5736 GB, free: 3.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.648, allocations: 209.8 kB / 0.5738 GB, free: 3.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.648, allocations: 0 / 0.5738 GB, free: 3.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.6483, allocations: 35.75 kB / 0.5738 GB, free: 3.32 MB / 378.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) * Number of clocked states: 0 () * 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.00165/0.65, allocations: 1.203 MB / 0.575 GB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.6502, allocations: 58.92 kB / 0.5751 GB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6502, allocations: 3.938 kB / 0.5751 GB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.6503, allocations: 31.02 kB / 0.5751 GB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.6506, allocations: 31.92 kB / 0.5751 GB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.6521, allocations: 1.033 MB / 0.5761 GB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.6525, allocations: 0.7199 MB / 0.5768 GB, free: 348 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.713e-05/0.6525, allocations: 16.55 kB / 0.5768 GB, free: 328 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.6526, allocations: 50.61 kB / 0.5769 GB, free: 300 kB / 378.7 MB Notification: Performance of SimCode: time 1.603e-06/0.6526, allocations: 112 / 0.5769 GB, free: 300 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.6689, allocations: 3.428 MB / 0.5802 GB, free: 12.88 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/0.6693, allocations: 208.8 kB / 0.5804 GB, free: 12.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.469, allocations: 0 / 0.5804 GB, free: 12.64 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat