Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",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.001697/0.001697, allocations: 182.1 kB / 16.4 MB, free: 5.754 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.051/2.051, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001139/0.001138, allocations: 84.42 kB / 270.9 MB, free: 8.359 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.6365/0.6365, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007065/0.0007066, allocations: 19.98 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1441, allocations: 58.84 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002759/0.1469, allocations: 1.355 MB / 491.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.1488, allocations: 0.7188 MB / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.712e-05/0.1489, allocations: 0 / 492.4 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1493, allocations: 31.84 kB / 492.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1495, allocations: 51.86 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.1499, allocations: 75.78 kB / 492.5 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1501, allocations: 59.86 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.1502, allocations: 7.984 kB / 492.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1503, allocations: 47.83 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.128e-05/0.1504, allocations: 27.84 kB / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1505, allocations: 0 / 492.7 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.5e-05/0.1506, allocations: 16 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.1506, allocations: 27.91 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1507, allocations: 37.64 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1509, allocations: 88.03 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1509, allocations: 4 kB / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.151, allocations: 0 / 492.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.151, allocations: 0 / 492.9 MB, free: 8.551 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006772/0.1517, allocations: 418.7 kB / 493.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1517, allocations: 8.031 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.1518, allocations: 34.56 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.1518, allocations: 11.81 kB / 493.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1522, allocations: 210.8 kB / 493.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.1522, allocations: 3.938 kB / 493.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1522, allocations: 0 / 493.5 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.1525, allocations: 53.67 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1525, allocations: 4 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.1525, allocations: 3.953 kB / 493.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1525, allocations: 0 / 493.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.1526, allocations: 15.98 kB / 493.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.1529, allocations: 189.5 kB / 493.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1532, allocations: 58.55 kB / 493.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.1532, allocations: 11.94 kB / 493.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.1535, allocations: 59.48 kB / 493.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.1535, allocations: 0 / 493.9 MB, free: 7.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000405/0.1539, allocations: 93.58 kB / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.154, allocations: 63.3 kB / 494.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.1544, allocations: 254.5 kB / 494.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1544, allocations: 29.7 kB / 494.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.1545, allocations: 170.6 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.1546, allocations: 15.8 kB / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-06/0.1546, allocations: 0 / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1548, allocations: 314.8 kB / 494.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.1549, allocations: 15.98 kB / 494.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.841e-05/0.155, allocations: 21.72 kB / 494.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.1551, allocations: 23.98 kB / 494.9 MB, free: 6.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1551, allocations: 4 kB / 494.9 MB, free: 6.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002474/0.1553, allocations: 69.62 kB / 495 MB, free: 6.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1554, allocations: 8 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1554, allocations: 320 / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1554, allocations: 0 / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.1556, allocations: 11.98 kB / 495 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.1556, allocations: 7.953 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.1557, allocations: 11.84 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.1557, allocations: 4 kB / 495 MB, free: 6.16 MB / 378.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.0001661/0.1559, allocations: 145.2 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.1559, allocations: 15.84 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.285e-05/0.156, allocations: 20.98 kB / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.156, allocations: 0 / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.156, allocations: 0 / 495.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.156, allocations: 3.953 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.1563, allocations: 193.6 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1563, allocations: 0 / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.1563, allocations: 4 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1563, allocations: 0 / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1564, allocations: 8 kB / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.1564, allocations: 3.938 kB / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1564, allocations: 0 / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.1567, allocations: 108.9 kB / 495.5 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.1568, allocations: 92.92 kB / 495.6 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.1569, allocations: 7.984 kB / 495.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.1569, allocations: 0 / 495.6 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.157, allocations: 8 kB / 495.6 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.157, allocations: 3.938 kB / 495.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.1573, allocations: 211.9 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1573, allocations: 0 / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.1576, allocations: 16 kB / 495.8 MB, free: 5.238 MB / 378.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.001768/0.1594, allocations: 0.9467 MB / 496.8 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1597, allocations: 39.92 kB / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1597, allocations: 0 / 496.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.1598, allocations: 19.98 kB / 496.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1602, allocations: 23.92 kB / 496.9 MB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.1621, allocations: 0.9918 MB / 497.9 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.1625, allocations: 0.7199 MB / 498.6 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.1627, allocations: 31.44 kB / 498.6 MB, free: 2.402 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1627, allocations: 0 / 498.6 MB, free: 2.402 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.073/3.235, allocations: 2.507 MB / 0.4894 GB, free: 42.34 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat