Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",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.001601/0.0016, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.973/1.973, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001111/0.00111, allocations: 91.59 kB / 270.9 MB, free: 8.371 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.6164/0.6164, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004814, allocations: 16 kB / 431.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1572, allocations: 58.85 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5344/0.6916, allocations: 87.82 MB / 0.5646 GB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004364/0.6921, allocations: 78.19 kB / 0.5647 GB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04712/0.7392, allocations: 7.7 MB / 0.5722 GB, free: 6.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7393, allocations: 0 / 0.5722 GB, free: 6.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.605e-05/0.7393, allocations: 7.984 kB / 0.5722 GB, free: 6.816 MB / 394.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.001023/0.7404, allocations: 0.5346 MB / 0.5727 GB, free: 6.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.7404, allocations: 12.03 kB / 0.5727 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.7405, allocations: 38.5 kB / 0.5728 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.7406, allocations: 27.62 kB / 0.5728 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006801/0.7413, allocations: 295 kB / 0.5731 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.7414, allocations: 11.94 kB / 0.5731 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.7414, allocations: 4 kB / 0.5731 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.7418, allocations: 108.3 kB / 0.5732 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.7418, allocations: 0 / 0.5732 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.7418, allocations: 0 / 0.5732 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.7418, allocations: 0 / 0.5732 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.742, allocations: 47.92 kB / 0.5732 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008043/0.7429, allocations: 469 kB / 0.5737 GB, free: 5.133 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.7433, allocations: 121.4 kB / 0.5738 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.7434, allocations: 3.984 kB / 0.5738 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.7437, allocations: 117.1 kB / 0.5739 GB, free: 4.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.7437, allocations: 0 / 0.5739 GB, free: 4.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001425/0.7452, allocations: 375.8 kB / 0.5743 GB, free: 4.484 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.7453, allocations: 77.11 kB / 0.5743 GB, free: 4.391 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000738/0.746, allocations: 391.6 kB / 0.5747 GB, free: 4.004 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.7461, allocations: 33.7 kB / 0.5748 GB, free: 3.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.7462, allocations: 194.8 kB / 0.5749 GB, free: 3.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/0.7463, allocations: 51.28 kB / 0.575 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.7463, allocations: 8 kB / 0.575 GB, free: 3.711 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.7465, allocations: 314.8 kB / 0.5753 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.7467, allocations: 47.97 kB / 0.5753 GB, free: 3.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.7469, allocations: 76.72 kB / 0.5754 GB, free: 3.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.7471, allocations: 55.89 kB / 0.5755 GB, free: 3.207 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7471, allocations: 0.5625 kB / 0.5755 GB, free: 3.207 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005148/0.7477, allocations: 161.6 kB / 0.5756 GB, free: 3.043 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7477, allocations: 4 kB / 0.5756 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.7477, allocations: 0 / 0.5756 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7477, allocations: 4 kB / 0.5756 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.748, allocations: 36.73 kB / 0.5757 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.748, allocations: 5.125 kB / 0.5757 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.7482, allocations: 8 kB / 0.5757 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.7482, allocations: 8 kB / 0.5757 GB, free: 2.98 MB / 394.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.0002361/0.7485, allocations: 169.7 kB / 0.5758 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.7486, allocations: 35.61 kB / 0.5759 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.7493, allocations: 228.3 kB / 0.5761 GB, free: 2.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.7494, allocations: 4 kB / 0.5761 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.7494, allocations: 4 kB / 0.5761 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.7494, allocations: 0 / 0.5761 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.7507, allocations: 0.6828 MB / 0.5768 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7508, allocations: 0 / 0.5768 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.7509, allocations: 31.98 kB / 0.5768 GB, free: 1.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.7509, allocations: 4 kB / 0.5768 GB, free: 1.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.751, allocations: 4 kB / 0.5768 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.751, allocations: 0 / 0.5768 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.751, allocations: 0 / 0.5768 GB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007274/0.7517, allocations: 428 kB / 0.5772 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.7519, allocations: 120.7 kB / 0.5773 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.752, allocations: 11.95 kB / 0.5773 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.7522, allocations: 7.984 kB / 0.5774 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.7523, allocations: 15.98 kB / 0.5774 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.7524, allocations: 8 kB / 0.5774 GB, free: 1.109 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005776/0.7529, allocations: 319 kB / 0.5777 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.753, allocations: 0 / 0.5777 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005154/0.7535, allocations: 55.94 kB / 0.5777 GB, free: 0.7461 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.002466/0.756, allocations: 1.521 MB / 0.5792 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005022/0.7565, allocations: 127.9 kB / 0.5793 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.7565, allocations: 0 / 0.5793 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.7568, allocations: 68.16 kB / 0.5794 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.7574, allocations: 49.61 kB / 0.5795 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.7613, allocations: 2.013 MB / 0.5814 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.7618, allocations: 0.7713 MB / 0.5822 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.7621, allocations: 91.33 kB / 0.5823 GB, free: 12.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7621, allocations: 0 / 0.5823 GB, free: 12.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/3.556, allocations: 4.666 MB / 0.5868 GB, free: 7.41 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat does not exist to compare? outputFormat=mat