Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",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.001472/0.001471, 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.223/2.223, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001113/0.001112, allocations: 93.62 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.3115/0.3115, allocations: 43.48 MB / 353.5 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.765e-05, allocations: 8.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.412, allocations: 58.86 MB / 477.2 MB, free: 5.176 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1683/0.5804, allocations: 86.81 MB / 0.5508 GB, free: 12.41 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5808, allocations: 79.89 kB / 0.5508 GB, free: 12.33 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02465/0.6054, allocations: 5.481 MB / 0.5562 GB, free: 6.852 MB / 395.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.6055, allocations: 0 / 0.5562 GB, free: 6.852 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.6055, allocations: 0.5469 kB / 0.5562 GB, free: 6.852 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.0006635/0.6062, allocations: 410.8 kB / 0.5566 GB, free: 6.406 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6063, allocations: 8.031 kB / 0.5566 GB, free: 6.398 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.133e-05/0.6063, allocations: 15.81 kB / 0.5566 GB, free: 6.383 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.6068, allocations: 234.6 kB / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.6069, allocations: 0 / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.6069, allocations: 0 / 0.5568 GB, free: 6.113 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.564e-05/0.607, allocations: 15.98 kB / 0.5569 GB, free: 6.098 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.6071, allocations: 45.69 kB / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.6071, allocations: 0 / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.6071, allocations: 0 / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6072, allocations: 0 / 0.5569 GB, free: 6.047 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.6074, allocations: 174.2 kB / 0.5571 GB, free: 5.84 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.6076, allocations: 58.56 kB / 0.5571 GB, free: 5.773 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.6077, allocations: 16.86 kB / 0.5571 GB, free: 5.754 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.6077, allocations: 0 / 0.5571 GB, free: 5.754 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.6079, allocations: 59.48 kB / 0.5572 GB, free: 5.684 MB / 395.1 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.6079, allocations: 0 / 0.5572 GB, free: 5.684 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002696/0.6082, allocations: 77.5 kB / 0.5573 GB, free: 5.602 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.6082, allocations: 63.39 kB / 0.5573 GB, free: 5.527 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.6086, allocations: 225.8 kB / 0.5575 GB, free: 5.297 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.6086, allocations: 29.7 kB / 0.5576 GB, free: 5.262 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.6087, allocations: 162.6 kB / 0.5577 GB, free: 5.102 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.6088, allocations: 19.75 kB / 0.5577 GB, free: 5.082 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.6088, allocations: 0 / 0.5577 GB, free: 5.082 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.609, allocations: 314.8 kB / 0.558 GB, free: 4.766 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.432e-05/0.609, allocations: 12 kB / 0.5581 GB, free: 4.754 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.6091, allocations: 37.64 kB / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.6092, allocations: 16.06 kB / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6092, allocations: 0 / 0.5581 GB, free: 4.695 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001701/0.6094, allocations: 69.62 kB / 0.5582 GB, free: 4.621 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6094, allocations: 4 kB / 0.5582 GB, free: 4.617 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.6094, allocations: 4.156 kB / 0.5582 GB, free: 4.613 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6094, allocations: 3.938 kB / 0.5582 GB, free: 4.609 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.6096, allocations: 8 kB / 0.5582 GB, free: 4.602 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.6096, allocations: 8.016 kB / 0.5582 GB, free: 4.594 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.746e-05/0.6097, allocations: 4 kB / 0.5582 GB, free: 4.59 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-05/0.6098, allocations: 4 kB / 0.5582 GB, free: 4.586 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 0.0001013/0.6099, allocations: 113 kB / 0.5583 GB, free: 4.469 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001874/0.6101, allocations: 81.45 kB / 0.5584 GB, free: 4.383 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.6101, allocations: 15.81 kB / 0.5584 GB, free: 4.367 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.6104, allocations: 95.22 kB / 0.5585 GB, free: 4.266 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.6104, allocations: 4 kB / 0.5585 GB, free: 4.262 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6104, allocations: 4 kB / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6104, allocations: 0 / 0.5585 GB, free: 4.258 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.6107, allocations: 182.1 kB / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6107, allocations: 3.953 kB / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.6107, allocations: 4 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.6107, allocations: 4 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.6108, allocations: 0 / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.6108, allocations: 0 / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6108, allocations: 0 / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.611, allocations: 121 kB / 0.5588 GB, free: 3.895 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.6111, allocations: 101 kB / 0.5589 GB, free: 3.777 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.6112, allocations: 4 kB / 0.5589 GB, free: 3.773 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.074e-05/0.6113, allocations: 0 / 0.5589 GB, free: 3.773 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.6113, allocations: 7.984 kB / 0.5589 GB, free: 3.766 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.6114, allocations: 4 kB / 0.5589 GB, free: 3.762 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002656/0.6116, allocations: 188.2 kB / 0.5591 GB, free: 3.578 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6116, allocations: 0 / 0.5591 GB, free: 3.578 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.612, allocations: 35.84 kB / 0.5591 GB, free: 3.543 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.001504/0.6135, allocations: 0.8872 MB / 0.56 GB, free: 2.668 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.6137, allocations: 32 kB / 0.56 GB, free: 2.637 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6137, allocations: 4.062 kB / 0.56 GB, free: 2.633 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.6138, allocations: 27.92 kB / 0.5601 GB, free: 2.605 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.6142, allocations: 23.84 kB / 0.5601 GB, free: 2.582 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008213/0.615, allocations: 288.5 kB / 0.5604 GB, free: 2.258 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.6154, allocations: 0.7197 MB / 0.5611 GB, free: 1.512 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.6155, allocations: 39.42 kB / 0.5611 GB, free: 1.473 MB / 395.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6155, allocations: 4 kB / 0.5611 GB, free: 1.469 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.784/3.4, allocations: 2.605 MB / 0.5636 GB, free: 14.88 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat