Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86",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.001543/0.001543, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 222.5 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 90.92 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2972/0.2972, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005146/0.0005147, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1324, allocations: 58.85 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002607/0.135, allocations: 1.34 MB / 491.7 MB, free: 7.883 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1368, allocations: 0.7188 MB / 492.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.945e-05/0.1369, allocations: 0 / 492.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.1373, allocations: 59.78 kB / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.1376, allocations: 55.86 kB / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1379, allocations: 71.8 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.1382, allocations: 63.84 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.1382, allocations: 8 kB / 492.6 MB, free: 6.902 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1384, allocations: 39.83 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1385, allocations: 39.83 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1385, allocations: 4 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1386, allocations: 19.94 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.1387, allocations: 15.92 kB / 492.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.1388, allocations: 33.7 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.139, allocations: 76.11 kB / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.139, allocations: 4 kB / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.139, allocations: 0 / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.139, allocations: 0 / 492.9 MB, free: 6.668 MB / 330.7 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.0006292/0.1396, allocations: 390.9 kB / 493.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1397, allocations: 12.03 kB / 493.3 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.1398, allocations: 30.56 kB / 493.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1398, allocations: 15.86 kB / 493.3 MB, free: 6.172 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.1401, allocations: 194.9 kB / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1401, allocations: 3.984 kB / 493.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1402, allocations: 4 kB / 493.5 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1404, allocations: 53.61 kB / 493.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1404, allocations: 0 / 493.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.1404, allocations: 4 kB / 493.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1404, allocations: 0 / 493.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.588e-05/0.1405, allocations: 23.88 kB / 493.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.1408, allocations: 185.6 kB / 493.8 MB, free: 5.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.141, allocations: 54.62 kB / 493.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1411, allocations: 0 / 493.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.1413, allocations: 67.42 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.703e-06/0.1413, allocations: 0 / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000378/0.1417, allocations: 93.48 kB / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.1418, allocations: 55.39 kB / 494 MB, free: 5.312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.1421, allocations: 194.1 kB / 494.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.1421, allocations: 29.7 kB / 494.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.426e-05/0.1422, allocations: 162.6 kB / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.1422, allocations: 11.89 kB / 494.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.1423, allocations: 0 / 494.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1424, allocations: 314.8 kB / 494.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.998e-05/0.1425, allocations: 15.98 kB / 494.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.844e-05/0.1426, allocations: 29.64 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.1427, allocations: 23.98 kB / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1427, allocations: 0 / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002346/0.143, allocations: 73.59 kB / 494.9 MB, free: 4.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.143, allocations: 6.656 kB / 494.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.143, allocations: 0 / 494.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.143, allocations: 4 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1432, allocations: 11.94 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1432, allocations: 3.984 kB / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.1433, allocations: 8.031 kB / 494.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1433, allocations: 3.953 kB / 494.9 MB, free: 4.402 MB / 330.7 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 () * Number of clocked 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.0001323/0.1435, allocations: 129.5 kB / 495 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.1435, allocations: 15.89 kB / 495 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.1436, allocations: 8.312 kB / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1436, allocations: 0 / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1436, allocations: 0 / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1436, allocations: 0 / 495 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.1438, allocations: 193.5 kB / 495.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1438, allocations: 4 kB / 495.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.1439, allocations: 7.984 kB / 495.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1439, allocations: 0 / 495.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1439, allocations: 320 / 495.2 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1439, allocations: 4 kB / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1439, allocations: 0 / 495.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1442, allocations: 116.8 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.249e-05/0.1443, allocations: 89.02 kB / 495.5 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.1444, allocations: 8 kB / 495.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.1444, allocations: 3.984 kB / 495.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.1445, allocations: 11.92 kB / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1445, allocations: 0 / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002101/0.1447, allocations: 139.2 kB / 495.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1447, allocations: 0 / 495.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.1451, allocations: 16 kB / 495.6 MB, free: 3.578 MB / 330.7 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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001672/0.1467, allocations: 0.9402 MB / 496.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.147, allocations: 35.98 kB / 496.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.147, allocations: 7.938 kB / 496.6 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1471, allocations: 27.86 kB / 496.6 MB, free: 2.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.1474, allocations: 23.34 kB / 496.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.149, allocations: 0.8035 MB / 497.5 MB, free: 1.707 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.1495, allocations: 0.7121 MB / 498.2 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.1496, allocations: 27.44 kB / 498.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1496, allocations: 0 / 498.2 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.668/2.818, allocations: 2.175 MB / 0.4887 GB, free: 14.77 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat