Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",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.002285/0.002291, 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.005/2.005, 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.001137/0.001136, allocations: 90.39 kB / 262.1 MB, free: 13.86 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.3109/0.3109, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.261e-05, allocations: 8.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4301, allocations: 58.86 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.6009, allocations: 86.95 MB / 0.5509 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.6013, allocations: 75.95 kB / 0.551 GB, free: 12.16 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02561/0.6269, allocations: 5.638 MB / 0.5565 GB, free: 6.523 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.627, allocations: 0 / 0.5565 GB, free: 6.523 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.266e-05/0.627, allocations: 7.938 kB / 0.5565 GB, free: 6.516 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.000638/0.6277, allocations: 410.8 kB / 0.5569 GB, free: 6.07 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.6278, allocations: 19.97 kB / 0.5569 GB, free: 6.051 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.6278, allocations: 7.906 kB / 0.5569 GB, free: 6.043 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.6283, allocations: 226.7 kB / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.6284, allocations: 0 / 0.5571 GB, free: 5.781 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.6284, allocations: 4 kB / 0.5571 GB, free: 5.777 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001174/0.6285, allocations: 19.98 kB / 0.5572 GB, free: 5.758 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.6287, allocations: 49.67 kB / 0.5572 GB, free: 5.703 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.6287, allocations: 4 kB / 0.5572 GB, free: 5.699 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.6287, allocations: 3.938 kB / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.6287, allocations: 0 / 0.5572 GB, free: 5.695 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.6293, allocations: 297.3 kB / 0.5575 GB, free: 5.367 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.6295, allocations: 42.7 kB / 0.5575 GB, free: 5.316 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.6295, allocations: 20.97 kB / 0.5576 GB, free: 5.293 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.6296, allocations: 0 / 0.5576 GB, free: 5.293 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.6298, allocations: 75.31 kB / 0.5576 GB, free: 5.207 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.578e-06/0.6298, allocations: 0 / 0.5576 GB, free: 5.207 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006248/0.6304, allocations: 153.1 kB / 0.5578 GB, free: 5.051 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.6305, allocations: 51.41 kB / 0.5578 GB, free: 4.988 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.6309, allocations: 237.7 kB / 0.5581 GB, free: 4.746 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.6309, allocations: 29.7 kB / 0.5581 GB, free: 4.711 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.631, allocations: 162.6 kB / 0.5582 GB, free: 4.551 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.6311, allocations: 27.64 kB / 0.5583 GB, free: 4.523 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.6311, allocations: 4 kB / 0.5583 GB, free: 4.52 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6313, allocations: 314.8 kB / 0.5586 GB, free: 4.203 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-05/0.6313, allocations: 19.94 kB / 0.5586 GB, free: 4.184 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.6314, allocations: 33.7 kB / 0.5586 GB, free: 4.145 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.6315, allocations: 20 kB / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6315, allocations: 0 / 0.5586 GB, free: 4.125 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002104/0.6317, allocations: 81.67 kB / 0.5587 GB, free: 4.039 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.6318, allocations: 8.031 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.6318, allocations: 0 / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6318, allocations: 0 / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.632, allocations: 23.94 kB / 0.5588 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.632, allocations: 0 / 0.5588 GB, free: 4.008 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.6321, allocations: 3.984 kB / 0.5588 GB, free: 4.004 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.6321, allocations: 7.953 kB / 0.5588 GB, free: 3.996 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.0001071/0.6322, allocations: 105 kB / 0.5589 GB, free: 3.887 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000259/0.6325, allocations: 101.4 kB / 0.559 GB, free: 3.781 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.6326, allocations: 19.81 kB / 0.559 GB, free: 3.762 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.6329, allocations: 111.7 kB / 0.5591 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.6329, allocations: 0 / 0.5591 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.6329, allocations: 4.047 kB / 0.5591 GB, free: 3.645 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.633, allocations: 11.86 kB / 0.5591 GB, free: 3.633 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.6337, allocations: 399.8 kB / 0.5595 GB, free: 3.195 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6337, allocations: 4 kB / 0.5595 GB, free: 3.191 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.824e-05/0.6338, allocations: 11.94 kB / 0.5595 GB, free: 3.18 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.6338, allocations: 4.031 kB / 0.5595 GB, free: 3.176 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.6338, allocations: 3.984 kB / 0.5595 GB, free: 3.172 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.6338, allocations: 7.953 kB / 0.5595 GB, free: 3.164 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6338, allocations: 0 / 0.5595 GB, free: 3.164 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.6342, allocations: 210.2 kB / 0.5597 GB, free: 2.934 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.6343, allocations: 100.9 kB / 0.5598 GB, free: 2.816 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.6344, allocations: 11.94 kB / 0.5598 GB, free: 2.805 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.6345, allocations: 4 kB / 0.5598 GB, free: 2.801 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.6346, allocations: 11.94 kB / 0.5598 GB, free: 2.789 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.6346, allocations: 7.984 kB / 0.5598 GB, free: 2.781 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.6349, allocations: 184.2 kB / 0.56 GB, free: 2.602 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6349, allocations: 0 / 0.56 GB, free: 2.602 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.6353, allocations: 35.94 kB / 0.5601 GB, free: 2.566 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.001834/0.6371, allocations: 1.105 MB / 0.5611 GB, free: 1.48 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.6374, allocations: 51.94 kB / 0.5612 GB, free: 1.43 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6374, allocations: 0 / 0.5612 GB, free: 1.43 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.6375, allocations: 27.94 kB / 0.5612 GB, free: 1.402 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.6379, allocations: 35.42 kB / 0.5612 GB, free: 1.371 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.6389, allocations: 325.2 kB / 0.5616 GB, free: 1.008 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.6394, allocations: 0.7158 MB / 0.5623 GB, free: 272 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.6395, allocations: 43.42 kB / 0.5623 GB, free: 228 kB / 395.1 MB Notification: Performance of SimCode: time 1.512e-06/0.6395, allocations: 0 / 0.5623 GB, free: 228 kB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.655/3.294, allocations: 2.86 MB / 0.5651 GB, free: 13.37 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat