Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",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.001174/0.001174, allocations: 183 kB / 13.19 MB, free: 2.129 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.641/1.641, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001187/0.001187, allocations: 78.67 kB / 267 MB, free: 9.281 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.4331/0.4331, allocations: 43.46 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.123e-05/4.125e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1254, allocations: 58.86 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/0.5581, allocations: 87.83 MB / 0.5587 GB, free: 16.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5584, allocations: 78.14 kB / 0.5588 GB, free: 16.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01494/0.5734, allocations: 5.775 MB / 0.5644 GB, free: 13.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5734, allocations: 0 / 0.5644 GB, free: 13.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.5735, allocations: 3.391 kB / 0.5644 GB, free: 13.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003834/0.5738, allocations: 400.4 kB / 0.5648 GB, free: 12.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5739, allocations: 8.031 kB / 0.5648 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.5739, allocations: 30.56 kB / 0.5648 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.574, allocations: 11.34 kB / 0.5648 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.5742, allocations: 206.6 kB / 0.565 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.5742, allocations: 4 kB / 0.565 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.5743, allocations: 7.812 kB / 0.5651 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.5744, allocations: 68.83 kB / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5744, allocations: 3.984 kB / 0.5651 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5745, allocations: 4 kB / 0.5651 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5745, allocations: 0 / 0.5651 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.5745, allocations: 23.81 kB / 0.5651 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.5748, allocations: 287.4 kB / 0.5654 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.575, allocations: 61.94 kB / 0.5655 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.5751, allocations: 20.67 kB / 0.5655 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.5751, allocations: 0 / 0.5655 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.5752, allocations: 67.14 kB / 0.5656 GB, free: 11.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.5752, allocations: 4 kB / 0.5656 GB, free: 11.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004148/0.5756, allocations: 160.1 kB / 0.5657 GB, free: 11.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.5757, allocations: 77.11 kB / 0.5658 GB, free: 11.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.5758, allocations: 137.8 kB / 0.5659 GB, free: 11.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5758, allocations: 25.7 kB / 0.5659 GB, free: 11.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.5759, allocations: 99.5 kB / 0.566 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.5759, allocations: 23.53 kB / 0.5661 GB, free: 11.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.5759, allocations: 0 / 0.5661 GB, free: 11.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.684e-05/0.576, allocations: 326 kB / 0.5664 GB, free: 10.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.576, allocations: 19.75 kB / 0.5664 GB, free: 10.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.576, allocations: 48.53 kB / 0.5664 GB, free: 10.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.5761, allocations: 19.75 kB / 0.5665 GB, free: 10.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.5761, allocations: 0 / 0.5665 GB, free: 10.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001216/0.5762, allocations: 100.5 kB / 0.5666 GB, free: 10.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.5762, allocations: 7.953 kB / 0.5666 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5763, allocations: 8.141 kB / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5763, allocations: 0 / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.201e-05/0.5764, allocations: 15.98 kB / 0.5666 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.5764, allocations: 3.984 kB / 0.5666 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.921e-05/0.5764, allocations: 7.812 kB / 0.5666 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.5765, allocations: 4 kB / 0.5666 GB, free: 10.73 MB / 394.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 () * 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 5.177e-05/0.5765, allocations: 109.6 kB / 0.5667 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.5765, allocations: 7.906 kB / 0.5667 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.5767, allocations: 120 kB / 0.5668 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5767, allocations: 4 kB / 0.5668 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5767, allocations: 1.312 kB / 0.5668 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5768, allocations: 0 / 0.5668 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.5771, allocations: 401.4 kB / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5771, allocations: 0 / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.5771, allocations: 15.94 kB / 0.5672 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.5771, allocations: 0 / 0.5672 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.5772, allocations: 7.922 kB / 0.5672 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5772, allocations: 4.031 kB / 0.5672 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5772, allocations: 7.938 kB / 0.5673 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.5773, allocations: 214.1 kB / 0.5675 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.5774, allocations: 89 kB / 0.5675 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.5774, allocations: 7.938 kB / 0.5675 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.5775, allocations: 4.188 kB / 0.5676 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.5775, allocations: 11.98 kB / 0.5676 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.5776, allocations: 4 kB / 0.5676 GB, free: 9.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.139e-05/0.5776, allocations: 119.7 kB / 0.5677 GB, free: 9.625 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5776, allocations: 0 / 0.5677 GB, free: 9.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002626/0.5779, allocations: 35.81 kB / 0.5677 GB, free: 9.594 MB / 394.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) * 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.001245/0.5792, allocations: 1.183 MB / 0.5689 GB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.5793, allocations: 63.53 kB / 0.5689 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5793, allocations: 0 / 0.5689 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.112e-05/0.5794, allocations: 31.56 kB / 0.569 GB, free: 8.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.5796, allocations: 20.75 kB / 0.569 GB, free: 8.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004705/0.5801, allocations: 207.9 kB / 0.5692 GB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.5802, allocations: 0.7004 MB / 0.5699 GB, free: 7.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.02e-05/0.5803, allocations: 14.03 kB / 0.5699 GB, free: 7.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.5804, allocations: 35.09 kB / 0.5699 GB, free: 7.418 MB / 394.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5804, allocations: 4 kB / 0.5699 GB, free: 7.414 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01746/0.5978, allocations: 3.103 MB / 0.5729 GB, free: 4.344 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.5981, allocations: 184.3 kB / 0.5731 GB, free: 4.121 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.349, allocations: 0 / 0.5731 GB, free: 4.121 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat does not exist to compare? outputFormat=mat