Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5",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.001467/0.001467, allocations: 179.4 kB / 8.364 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.13/2.13, 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.001113/0.001113, allocations: 94.23 kB / 262.1 MB, free: 13.87 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.3008/0.3008, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.1e-05, allocations: 8 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 58.86 MB / 477.2 MB, free: 5.285 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.5834, allocations: 87 MB / 0.551 GB, free: 12.3 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5838, allocations: 75.45 kB / 0.551 GB, free: 12.23 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02608/0.6099, allocations: 5.904 MB / 0.5568 GB, free: 6.328 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6099, allocations: 0 / 0.5568 GB, free: 6.328 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.6099, allocations: 4 kB / 0.5568 GB, free: 6.324 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000744/0.6107, allocations: 418.8 kB / 0.5572 GB, free: 5.871 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6108, allocations: 8.031 kB / 0.5572 GB, free: 5.863 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.6108, allocations: 15.81 kB / 0.5572 GB, free: 5.848 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.6113, allocations: 234.5 kB / 0.5575 GB, free: 5.578 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.6113, allocations: 0 / 0.5575 GB, free: 5.578 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.6114, allocations: 7.984 kB / 0.5575 GB, free: 5.57 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.6115, allocations: 35.98 kB / 0.5575 GB, free: 5.535 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.6117, allocations: 61.61 kB / 0.5576 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.6117, allocations: 0 / 0.5576 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.6118, allocations: 0 / 0.5576 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6118, allocations: 0 / 0.5576 GB, free: 5.469 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.6124, allocations: 321.2 kB / 0.5579 GB, free: 5.117 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.6126, allocations: 62.84 kB / 0.5579 GB, free: 5.047 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.6127, allocations: 28.8 kB / 0.5579 GB, free: 5.016 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.6127, allocations: 4 kB / 0.558 GB, free: 5.012 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.6129, allocations: 71.38 kB / 0.558 GB, free: 4.93 MB / 395.1 MB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.6129, allocations: 0 / 0.558 GB, free: 4.93 MB / 395.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007305/0.6136, allocations: 193 kB / 0.5582 GB, free: 4.734 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.6137, allocations: 59.41 kB / 0.5583 GB, free: 4.664 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.6141, allocations: 217.8 kB / 0.5585 GB, free: 4.441 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.6141, allocations: 29.7 kB / 0.5585 GB, free: 4.406 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.6143, allocations: 170.6 kB / 0.5587 GB, free: 4.238 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.6143, allocations: 31.55 kB / 0.5587 GB, free: 4.207 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.6143, allocations: 0 / 0.5587 GB, free: 4.207 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6145, allocations: 318.8 kB / 0.559 GB, free: 3.887 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.6146, allocations: 27.94 kB / 0.559 GB, free: 3.859 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.6147, allocations: 51.16 kB / 0.5591 GB, free: 3.805 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.6148, allocations: 31.98 kB / 0.5591 GB, free: 3.773 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6148, allocations: 0 / 0.5591 GB, free: 3.773 MB / 395.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003008/0.6152, allocations: 113.5 kB / 0.5592 GB, free: 3.656 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6152, allocations: 4 kB / 0.5592 GB, free: 3.652 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6152, allocations: 4 kB / 0.5592 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6152, allocations: 0 / 0.5592 GB, free: 3.648 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.6154, allocations: 23.98 kB / 0.5592 GB, free: 3.625 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6155, allocations: 4.031 kB / 0.5592 GB, free: 3.621 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.527e-05/0.6156, allocations: 11.94 kB / 0.5593 GB, free: 3.609 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.6156, allocations: 4 kB / 0.5593 GB, free: 3.605 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 (13): * Single equations (assignments): 13 * 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.0001095/0.6157, allocations: 112.9 kB / 0.5594 GB, free: 3.488 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003001/0.616, allocations: 121.4 kB / 0.5595 GB, free: 3.363 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.6161, allocations: 15.81 kB / 0.5595 GB, free: 3.348 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.6165, allocations: 151.4 kB / 0.5596 GB, free: 3.195 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6165, allocations: 3.953 kB / 0.5596 GB, free: 3.191 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6166, allocations: 4 kB / 0.5596 GB, free: 3.188 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6166, allocations: 3.984 kB / 0.5597 GB, free: 3.184 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/0.6174, allocations: 455.8 kB / 0.5601 GB, free: 2.691 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.6174, allocations: 0 / 0.5601 GB, free: 2.691 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.6175, allocations: 19.98 kB / 0.5601 GB, free: 2.672 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.6176, allocations: 7.938 kB / 0.5601 GB, free: 2.664 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.6176, allocations: 4 kB / 0.5601 GB, free: 2.66 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6176, allocations: 0 / 0.5601 GB, free: 2.66 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6176, allocations: 4.031 kB / 0.5601 GB, free: 2.656 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.6181, allocations: 238.3 kB / 0.5603 GB, free: 2.398 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.6182, allocations: 112.8 kB / 0.5605 GB, free: 2.27 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.6182, allocations: 0 / 0.5605 GB, free: 2.27 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.6184, allocations: 4 kB / 0.5605 GB, free: 2.266 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.6185, allocations: 15.98 kB / 0.5605 GB, free: 2.25 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6185, allocations: 4 kB / 0.5605 GB, free: 2.246 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.6188, allocations: 175.2 kB / 0.5606 GB, free: 2.074 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6188, allocations: 0 / 0.5606 GB, free: 2.074 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.6192, allocations: 39.94 kB / 0.5607 GB, free: 2.035 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 (13): * Single equations (assignments): 11 * 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.001819/0.621, allocations: 1.145 MB / 0.5618 GB, free: 0.9023 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.6213, allocations: 72 kB / 0.5619 GB, free: 0.832 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6213, allocations: 3.938 kB / 0.5619 GB, free: 0.8281 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.6215, allocations: 43.98 kB / 0.5619 GB, free: 0.7852 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.6219, allocations: 24.03 kB / 0.5619 GB, free: 0.7578 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.6229, allocations: 333.4 kB / 0.5623 GB, free: 392 kB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.6234, allocations: 0.7275 MB / 0.563 GB, free: 15.63 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.6235, allocations: 51.42 kB / 0.563 GB, free: 15.58 MB / 411.1 MB Notification: Performance of SimCode: time 9.12e-07/0.6235, allocations: 0 / 0.563 GB, free: 15.58 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.115/3.739, allocations: 3.048 MB / 0.566 GB, free: 12.54 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat