Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test25",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.002243/0.002243, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 101.8 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3009/0.3009, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.424e-05/3.424e-05, allocations: 8.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4385, allocations: 58.85 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.6006, allocations: 86.96 MB / 0.5509 GB, free: 12.25 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.601, allocations: 75.95 kB / 0.551 GB, free: 12.18 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02755/0.6286, allocations: 5.369 MB / 0.5562 GB, free: 6.816 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6286, allocations: 0 / 0.5562 GB, free: 6.816 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.776e-05/0.6287, allocations: 15.92 kB / 0.5563 GB, free: 6.801 MB / 395.1 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.0006334/0.6293, allocations: 402.8 kB / 0.5566 GB, free: 6.363 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6294, allocations: 8.031 kB / 0.5567 GB, free: 6.355 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.032e-05/0.6295, allocations: 11.91 kB / 0.5567 GB, free: 6.344 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.6299, allocations: 219.4 kB / 0.5569 GB, free: 6.086 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.6299, allocations: 0 / 0.5569 GB, free: 6.086 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.63, allocations: 4 kB / 0.5569 GB, free: 6.082 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.655e-05/0.6301, allocations: 15.98 kB / 0.5569 GB, free: 6.066 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.6302, allocations: 57.66 kB / 0.5569 GB, free: 6.004 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.6302, allocations: 0 / 0.5569 GB, free: 6.004 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.6303, allocations: 4 kB / 0.5569 GB, free: 6 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.6303, allocations: 4 kB / 0.557 GB, free: 5.996 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.6308, allocations: 269.4 kB / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.6309, allocations: 46.69 kB / 0.5573 GB, free: 5.641 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.631, allocations: 20.92 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.6311, allocations: 4 kB / 0.5573 GB, free: 5.613 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.6312, allocations: 71.33 kB / 0.5573 GB, free: 5.531 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.264e-06/0.6313, allocations: 0 / 0.5573 GB, free: 5.531 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005975/0.6319, allocations: 137.3 kB / 0.5575 GB, free: 5.391 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.6319, allocations: 55.41 kB / 0.5575 GB, free: 5.324 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.6322, allocations: 190.3 kB / 0.5577 GB, free: 5.125 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.6322, allocations: 25.7 kB / 0.5577 GB, free: 5.094 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.6323, allocations: 166.6 kB / 0.5579 GB, free: 4.93 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.6324, allocations: 27.64 kB / 0.5579 GB, free: 4.902 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.6324, allocations: 0 / 0.5579 GB, free: 4.902 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6326, allocations: 314.8 kB / 0.5582 GB, free: 4.586 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.6326, allocations: 19.94 kB / 0.5582 GB, free: 4.566 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.958e-05/0.6327, allocations: 33.7 kB / 0.5583 GB, free: 4.527 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.6328, allocations: 20 kB / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6328, allocations: 0 / 0.5583 GB, free: 4.508 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002256/0.6331, allocations: 89.66 kB / 0.5584 GB, free: 4.414 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.6331, allocations: 4 kB / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.6331, allocations: 0 / 0.5584 GB, free: 4.41 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.6331, allocations: 7.938 kB / 0.5584 GB, free: 4.402 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.6333, allocations: 12 kB / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.6333, allocations: 0 / 0.5584 GB, free: 4.391 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-05/0.6334, allocations: 8.172 kB / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.6335, allocations: 3.953 kB / 0.5584 GB, free: 4.379 MB / 395.1 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 0.0001003/0.6336, allocations: 113 kB / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002291/0.6338, allocations: 101.4 kB / 0.5586 GB, free: 4.156 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.6339, allocations: 11.91 kB / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/0.6342, allocations: 107.7 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.6342, allocations: 3.938 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.6342, allocations: 7.938 kB / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6342, allocations: 0 / 0.5587 GB, free: 4.023 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.6349, allocations: 376.1 kB / 0.5591 GB, free: 3.609 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6349, allocations: 4.031 kB / 0.5591 GB, free: 3.605 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.635, allocations: 15.92 kB / 0.5591 GB, free: 3.59 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.6351, allocations: 3.938 kB / 0.5591 GB, free: 3.586 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.6351, allocations: 4 kB / 0.5591 GB, free: 3.582 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6351, allocations: 3.953 kB / 0.5591 GB, free: 3.578 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6351, allocations: 0 / 0.5591 GB, free: 3.578 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.6354, allocations: 214 kB / 0.5593 GB, free: 3.344 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/0.6355, allocations: 96.91 kB / 0.5594 GB, free: 3.23 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.6356, allocations: 3.953 kB / 0.5594 GB, free: 3.227 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.6357, allocations: 8 kB / 0.5594 GB, free: 3.219 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.6358, allocations: 11.92 kB / 0.5594 GB, free: 3.207 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.6358, allocations: 4 kB / 0.5595 GB, free: 3.203 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.636, allocations: 140.9 kB / 0.5596 GB, free: 3.066 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.636, allocations: 0 / 0.5596 GB, free: 3.066 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.6364, allocations: 31.94 kB / 0.5596 GB, free: 3.035 MB / 395.1 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.001703/0.6382, allocations: 1.108 MB / 0.5607 GB, free: 1.941 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.6384, allocations: 51.92 kB / 0.5607 GB, free: 1.891 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6384, allocations: 0 / 0.5607 GB, free: 1.891 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.6385, allocations: 32.06 kB / 0.5608 GB, free: 1.859 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.6389, allocations: 31.83 kB / 0.5608 GB, free: 1.828 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007554/0.6397, allocations: 249.4 kB / 0.561 GB, free: 1.543 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.6401, allocations: 0.708 MB / 0.5617 GB, free: 0.8086 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.6402, allocations: 35.42 kB / 0.5618 GB, free: 0.7734 MB / 395.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6402, allocations: 4 kB / 0.5618 GB, free: 0.7695 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.723/3.364, allocations: 2.523 MB / 0.5642 GB, free: 14.26 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat does not exist to compare? outputFormat=mat