Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67",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.001032/0.001033, 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.655/1.655, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.0008666/0.0008666, allocations: 90.3 kB / 261.8 MB, free: 1.68 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.2259/0.2259, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.133e-05/2.135e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.582, allocations: 87.26 MB / 0.5513 GB, free: 7.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.5823, allocations: 74.77 kB / 0.5513 GB, free: 7.375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0269/0.6092, allocations: 10.94 MB / 0.562 GB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.6092, allocations: 0 / 0.562 GB, free: 14.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.068e-05/0.6093, allocations: 16.11 kB / 0.562 GB, free: 14.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009124/0.6102, allocations: 0.6366 MB / 0.5627 GB, free: 14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.6102, allocations: 8.031 kB / 0.5627 GB, free: 14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.6104, allocations: 51.34 kB / 0.5627 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.6112, allocations: 431.6 kB / 0.5631 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.6112, allocations: 7.125 kB / 0.5631 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.6113, allocations: 15.98 kB / 0.5631 GB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001843/0.6115, allocations: 85.2 kB / 0.5632 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.6117, allocations: 185.4 kB / 0.5634 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6118, allocations: 0 / 0.5634 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/0.6118, allocations: 11.11 kB / 0.5634 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.6118, allocations: 4 kB / 0.5634 GB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.6127, allocations: 0.852 MB / 0.5642 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.6131, allocations: 252.4 kB / 0.5645 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.6132, allocations: 89.78 kB / 0.5646 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.6132, allocations: 7.875 kB / 0.5646 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.6136, allocations: 218.4 kB / 0.5648 GB, free: 11.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.6136, allocations: 0 / 0.5648 GB, free: 11.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.001499/0.6151, allocations: 0.8496 MB / 0.5656 GB, free: 11.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.6152, allocations: 158.2 kB / 0.5658 GB, free: 10.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000636/0.6158, allocations: 0.5277 MB / 0.5663 GB, free: 10.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.6159, allocations: 33.58 kB / 0.5663 GB, free: 10.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.616, allocations: 222.5 kB / 0.5665 GB, free: 10.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.6162, allocations: 117.5 kB / 0.5666 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.6162, allocations: 0 / 0.5666 GB, free: 10.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.6164, allocations: 369.8 kB / 0.567 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.6165, allocations: 87.42 kB / 0.5671 GB, free: 9.902 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.6167, allocations: 165.9 kB / 0.5672 GB, free: 9.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.6169, allocations: 110.6 kB / 0.5673 GB, free: 9.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6169, allocations: 0 / 0.5673 GB, free: 9.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004895/0.6174, allocations: 362.3 kB / 0.5677 GB, free: 9.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.6174, allocations: 4 kB / 0.5677 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6174, allocations: 4 kB / 0.5677 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.6174, allocations: 4 kB / 0.5677 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.6178, allocations: 83.77 kB / 0.5678 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.6178, allocations: 12 kB / 0.5678 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.618, allocations: 20.14 kB / 0.5678 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.618, allocations: 15.94 kB / 0.5678 GB, free: 9.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001169/0.6181, allocations: 124 kB / 0.5679 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005632/0.6187, allocations: 377.2 kB / 0.5683 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.6188, allocations: 55.34 kB / 0.5684 GB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.6195, allocations: 435 kB / 0.5688 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6195, allocations: 4 kB / 0.5688 GB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.6195, allocations: 4 kB / 0.5688 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.6195, allocations: 0 / 0.5688 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.6209, allocations: 1.281 MB / 0.57 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6209, allocations: 0 / 0.57 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.6211, allocations: 51.92 kB / 0.5701 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.6211, allocations: 8 kB / 0.5701 GB, free: 7.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.6211, allocations: 15.86 kB / 0.5701 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.6211, allocations: 11.88 kB / 0.5701 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.6211, allocations: 8.422 kB / 0.5701 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.6218, allocations: 0.9075 MB / 0.571 GB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.622, allocations: 161.3 kB / 0.5712 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.6221, allocations: 11.31 kB / 0.5712 GB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.6224, allocations: 15.98 kB / 0.5712 GB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.6225, allocations: 39.08 kB / 0.5712 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.6226, allocations: 23.3 kB / 0.5712 GB, free: 6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004257/0.623, allocations: 429.8 kB / 0.5717 GB, free: 5.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.623, allocations: 0 / 0.5717 GB, free: 5.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005537/0.6236, allocations: 91.89 kB / 0.5717 GB, free: 5.598 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002074/0.6256, allocations: 2.365 MB / 0.5741 GB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.6261, allocations: 263.2 kB / 0.5743 GB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6261, allocations: 0 / 0.5743 GB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.6263, allocations: 139.5 kB / 0.5744 GB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.6272, allocations: 129.9 kB / 0.5746 GB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.6289, allocations: 0.8014 MB / 0.5753 GB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.6294, allocations: 0.864 MB / 0.5762 GB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.6297, allocations: 91.28 kB / 0.5763 GB, free: 1.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.6299, allocations: 174.6 kB / 0.5764 GB, free: 1.09 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.6299, allocations: 3.938 kB / 0.5764 GB, free: 1.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.6613, allocations: 9.611 MB / 0.5858 GB, free: 7.488 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.6615, allocations: 160.9 kB / 0.586 GB, free: 7.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/2.719, allocations: 0 / 0.586 GB, free: 7.297 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat does not exist to compare? outputFormat=mat