Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.001426/0.001426, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 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.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008218/0.0008218, allocations: 86.62 kB / 261.7 MB, free: 1.695 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.2249/0.2249, allocations: 43.5 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.351e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.445/0.5737, allocations: 86.75 MB / 0.5508 GB, free: 7.801 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.574, allocations: 77.03 kB / 0.5508 GB, free: 7.762 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.5866, allocations: 5.223 MB / 0.5559 GB, free: 3.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.5866, allocations: 4 kB / 0.5559 GB, free: 3.609 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5866, allocations: 3.828 kB / 0.5559 GB, free: 3.609 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004626/0.5871, allocations: 394.2 kB / 0.5563 GB, free: 3.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.5872, allocations: 8.031 kB / 0.5563 GB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.5872, allocations: 11.84 kB / 0.5563 GB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.5875, allocations: 234.4 kB / 0.5566 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5876, allocations: 0 / 0.5566 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.5876, allocations: 4 kB / 0.5566 GB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.531e-05/0.5877, allocations: 11.81 kB / 0.5566 GB, free: 2.898 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.5878, allocations: 45.55 kB / 0.5566 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5878, allocations: 0 / 0.5566 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.5878, allocations: 0 / 0.5566 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.5878, allocations: 0 / 0.5566 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.588, allocations: 165.7 kB / 0.5568 GB, free: 2.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.892e-05/0.5881, allocations: 53.88 kB / 0.5568 GB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.5881, allocations: 16.48 kB / 0.5568 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.5882, allocations: 0 / 0.5568 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.5883, allocations: 62.55 kB / 0.5569 GB, free: 2.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.5883, allocations: 0 / 0.5569 GB, free: 2.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001919/0.5885, allocations: 88 kB / 0.557 GB, free: 2.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.5885, allocations: 55.39 kB / 0.557 GB, free: 2.383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.5887, allocations: 180.4 kB / 0.5572 GB, free: 2.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.5887, allocations: 29.7 kB / 0.5572 GB, free: 2.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.5888, allocations: 101.6 kB / 0.5573 GB, free: 2.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.5888, allocations: 19.14 kB / 0.5573 GB, free: 2.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.5888, allocations: 0 / 0.5573 GB, free: 2.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.293e-05/0.5889, allocations: 322.7 kB / 0.5577 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.5889, allocations: 11.88 kB / 0.5577 GB, free: 1.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.5889, allocations: 25.16 kB / 0.5577 GB, free: 1.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.589, allocations: 15.67 kB / 0.5577 GB, free: 1.719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.589, allocations: 0 / 0.5577 GB, free: 1.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.566e-05/0.5891, allocations: 87.14 kB / 0.5578 GB, free: 1.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5891, allocations: 8 kB / 0.5578 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5891, allocations: 0 / 0.5578 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.5892, allocations: 0 / 0.5578 GB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-05/0.5892, allocations: 8.031 kB / 0.5578 GB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.5892, allocations: 8 kB / 0.5578 GB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.5893, allocations: 3.984 kB / 0.5578 GB, free: 1.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.5893, allocations: 4 kB / 0.5578 GB, free: 1.605 MB / 362.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 (7): * Single equations (assignments): 7 * 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 6.632e-05/0.5894, allocations: 104.5 kB / 0.5579 GB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.538e-05/0.5895, allocations: 83.67 kB / 0.558 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.5895, allocations: 11.81 kB / 0.558 GB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.5897, allocations: 88.09 kB / 0.5581 GB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.5897, allocations: 4 kB / 0.5581 GB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5897, allocations: 4 kB / 0.5581 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5897, allocations: 0 / 0.5581 GB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.5898, allocations: 175 kB / 0.5583 GB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5898, allocations: 3.953 kB / 0.5583 GB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.5898, allocations: 4 kB / 0.5583 GB, free: 1.125 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5898, allocations: 4 kB / 0.5583 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.5899, allocations: 0 / 0.5583 GB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5899, allocations: 7.922 kB / 0.5583 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5899, allocations: 0 / 0.5583 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.59, allocations: 113.6 kB / 0.5584 GB, free: 1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.5901, allocations: 96.89 kB / 0.5585 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.5901, allocations: 4.25 kB / 0.5585 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.5901, allocations: 4 kB / 0.5585 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.5902, allocations: 18.97 kB / 0.5585 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.5902, allocations: 0 / 0.5585 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.375e-05/0.5903, allocations: 150.7 kB / 0.5587 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5903, allocations: 0 / 0.5587 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00021/0.5905, allocations: 23.06 kB / 0.5587 GB, free: 0.7188 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001005/0.5915, allocations: 0.8868 MB / 0.5595 GB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.5917, allocations: 47.17 kB / 0.5596 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5917, allocations: 0 / 0.5596 GB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.5917, allocations: 22.19 kB / 0.5596 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.592, allocations: 23.34 kB / 0.5596 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.5925, allocations: 210.8 kB / 0.5598 GB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.5929, allocations: 0.7041 MB / 0.5605 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.524e-05/0.5929, allocations: 23.92 kB / 0.5605 GB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.593, allocations: 25 kB / 0.5606 GB, free: 14.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.593, allocations: 0 / 0.5606 GB, free: 14.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.6172, allocations: 2.498 MB / 0.563 GB, free: 12.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.6175, allocations: 163.2 kB / 0.5632 GB, free: 12.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.118, allocations: 0 / 0.5632 GB, free: 12.14 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat