Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",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.001489/0.001489, allocations: 177.8 kB / 8.36 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.115/2.115, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.00114/0.00114, allocations: 84.97 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.3062/0.3062, allocations: 43.48 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.595e-05, allocations: 8 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4055, allocations: 58.85 MB / 477.2 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5703, allocations: 86.75 MB / 0.5507 GB, free: 12.52 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5706, allocations: 79.45 kB / 0.5508 GB, free: 12.45 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.5948, allocations: 5.07 MB / 0.5558 GB, free: 7.379 MB / 395.1 MB Notification: Performance of FrontEnd: time 4.429e-06/0.5949, allocations: 4 kB / 0.5558 GB, free: 7.375 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.5949, allocations: 0 / 0.5558 GB, free: 7.375 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006207/0.5955, allocations: 390.9 kB / 0.5561 GB, free: 6.949 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.5956, allocations: 8.031 kB / 0.5561 GB, free: 6.941 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.5957, allocations: 7.906 kB / 0.5561 GB, free: 6.934 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.5962, allocations: 214.6 kB / 0.5563 GB, free: 6.684 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.5962, allocations: 4 kB / 0.5564 GB, free: 6.68 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.5962, allocations: 8 kB / 0.5564 GB, free: 6.672 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.022e-05/0.5963, allocations: 12 kB / 0.5564 GB, free: 6.66 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.5965, allocations: 45.67 kB / 0.5564 GB, free: 6.609 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.5965, allocations: 0 / 0.5564 GB, free: 6.609 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.5965, allocations: 0 / 0.5564 GB, free: 6.609 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.5965, allocations: 0 / 0.5564 GB, free: 6.609 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.5968, allocations: 158.2 kB / 0.5566 GB, free: 6.418 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.597, allocations: 54.62 kB / 0.5566 GB, free: 6.355 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.597, allocations: 20.8 kB / 0.5566 GB, free: 6.332 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.5971, allocations: 0 / 0.5566 GB, free: 6.332 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.5973, allocations: 59.48 kB / 0.5567 GB, free: 6.262 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 2.224e-06/0.5973, allocations: 3.938 kB / 0.5567 GB, free: 6.258 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002945/0.5976, allocations: 77.5 kB / 0.5568 GB, free: 6.176 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.5976, allocations: 51.41 kB / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.5979, allocations: 157.4 kB / 0.557 GB, free: 5.953 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5979, allocations: 25.7 kB / 0.557 GB, free: 5.922 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.598, allocations: 162.5 kB / 0.5572 GB, free: 5.762 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.5981, allocations: 15.88 kB / 0.5572 GB, free: 5.746 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.5981, allocations: 0 / 0.5572 GB, free: 5.746 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5982, allocations: 314.8 kB / 0.5575 GB, free: 5.43 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.5983, allocations: 15.94 kB / 0.5575 GB, free: 5.414 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.638e-05/0.5984, allocations: 21.72 kB / 0.5575 GB, free: 5.387 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/0.5984, allocations: 19.98 kB / 0.5575 GB, free: 5.367 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5985, allocations: 0 / 0.5575 GB, free: 5.367 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000192/0.5987, allocations: 77.53 kB / 0.5576 GB, free: 5.285 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.5987, allocations: 8 kB / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5987, allocations: 0 / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.5987, allocations: 0 / 0.5576 GB, free: 5.277 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.5989, allocations: 15.92 kB / 0.5576 GB, free: 5.262 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5989, allocations: 0 / 0.5576 GB, free: 5.262 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.599, allocations: 4 kB / 0.5576 GB, free: 5.258 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.599, allocations: 8.031 kB / 0.5576 GB, free: 5.25 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 (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 9.883e-05/0.5991, allocations: 101 kB / 0.5577 GB, free: 5.145 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002482/0.5994, allocations: 89.66 kB / 0.5578 GB, free: 5.051 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.5995, allocations: 7.906 kB / 0.5578 GB, free: 5.043 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.5997, allocations: 90.02 kB / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.5997, allocations: 0 / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5998, allocations: 0 / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5998, allocations: 0 / 0.5579 GB, free: 4.949 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.6, allocations: 170 kB / 0.5581 GB, free: 4.746 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6, allocations: 7.953 kB / 0.5581 GB, free: 4.738 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.6001, allocations: 4 kB / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.6001, allocations: 0 / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6001, allocations: 0 / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.6001, allocations: 0 / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6001, allocations: 0 / 0.5581 GB, free: 4.734 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.6004, allocations: 113 kB / 0.5582 GB, free: 4.605 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.6005, allocations: 88.97 kB / 0.5583 GB, free: 4.5 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.6005, allocations: 7.984 kB / 0.5583 GB, free: 4.492 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.6006, allocations: 4 kB / 0.5583 GB, free: 4.488 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.6007, allocations: 4 kB / 0.5583 GB, free: 4.484 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.6007, allocations: 4 kB / 0.5583 GB, free: 4.48 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.6009, allocations: 132 kB / 0.5584 GB, free: 4.352 MB / 395.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6009, allocations: 3.938 kB / 0.5584 GB, free: 4.348 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.00031/0.6012, allocations: 20 kB / 0.5584 GB, free: 4.328 MB / 395.1 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.001524/0.6027, allocations: 0.8808 MB / 0.5593 GB, free: 3.461 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.603, allocations: 35.98 kB / 0.5593 GB, free: 3.426 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.603, allocations: 4 kB / 0.5593 GB, free: 3.422 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.6031, allocations: 16 kB / 0.5594 GB, free: 3.406 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.6035, allocations: 28.59 kB / 0.5594 GB, free: 3.379 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006565/0.6042, allocations: 212.2 kB / 0.5596 GB, free: 3.129 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.6046, allocations: 0.7002 MB / 0.5603 GB, free: 2.402 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/0.6047, allocations: 31.42 kB / 0.5603 GB, free: 2.371 MB / 395.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6047, allocations: 0 / 0.5603 GB, free: 2.371 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.598/3.203, allocations: 2.149 MB / 0.5624 GB, free: 240 kB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat