Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",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.001599/0.001599, 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.212/2.212, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001142/0.001141, allocations: 102.8 kB / 270.9 MB, free: 13.37 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.3207/0.3207, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006801/0.0006805, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1388, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002785/0.1417, allocations: 1.379 MB / 491.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.1437, allocations: 0.7383 MB / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1438, allocations: 0 / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1442, allocations: 35.83 kB / 492.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1444, allocations: 43.88 kB / 492.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.1449, allocations: 71.78 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.1451, allocations: 63.86 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1452, allocations: 16.22 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1453, allocations: 31.86 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.1454, allocations: 27.84 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1455, allocations: 0 / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1456, allocations: 31.92 kB / 492.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.255e-05/0.1457, allocations: 19.92 kB / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.1457, allocations: 37.64 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.146, allocations: 88.09 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.146, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.146, allocations: 0 / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.146, allocations: 4 kB / 492.9 MB, free: 6.629 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006762/0.1467, allocations: 398.9 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.1468, allocations: 12.03 kB / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.834e-05/0.1468, allocations: 30.56 kB / 493.3 MB, free: 6.141 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.1469, allocations: 15.77 kB / 493.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.1472, allocations: 215.5 kB / 493.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1473, allocations: 0 / 493.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1473, allocations: 4 kB / 493.6 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1475, allocations: 57.67 kB / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1475, allocations: 0 / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1476, allocations: 0 / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1476, allocations: 4 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1477, allocations: 19.94 kB / 493.6 MB, free: 5.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.1482, allocations: 284.9 kB / 493.9 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.1485, allocations: 62.66 kB / 494 MB, free: 5.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1485, allocations: 4 kB / 494 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.1487, allocations: 63.52 kB / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.1488, allocations: 0 / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008003/0.1496, allocations: 177.1 kB / 494.2 MB, free: 5.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.1496, allocations: 51.41 kB / 494.3 MB, free: 5.066 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.15, allocations: 199.3 kB / 494.5 MB, free: 4.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.15, allocations: 33.64 kB / 494.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1501, allocations: 166.5 kB / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.1502, allocations: 27.69 kB / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/0.1502, allocations: 0 / 494.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1504, allocations: 318.8 kB / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.1505, allocations: 19.92 kB / 495 MB, free: 4.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.1506, allocations: 41.7 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1507, allocations: 27.94 kB / 495.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1507, allocations: 0 / 495.1 MB, free: 4.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002949/0.151, allocations: 89.61 kB / 495.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1511, allocations: 7.438 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.1511, allocations: 8.328 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1511, allocations: 0 / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.1513, allocations: 12 kB / 495.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1513, allocations: 7.984 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.1514, allocations: 12.03 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1514, allocations: 4 kB / 495.2 MB, free: 4.078 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 (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.0001467/0.1516, allocations: 127.9 kB / 495.4 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1516, allocations: 15.89 kB / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.881e-05/0.1517, allocations: 13.41 kB / 495.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.1517, allocations: 3.953 kB / 495.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1517, allocations: 0 / 495.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1517, allocations: 0 / 495.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.1524, allocations: 407.2 kB / 495.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1524, allocations: 0 / 495.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.1525, allocations: 11.95 kB / 495.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1525, allocations: 0 / 495.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.1526, allocations: 8 kB / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1526, allocations: 0 / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1526, allocations: 0 / 495.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.1529, allocations: 217.9 kB / 496 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.669e-05/0.153, allocations: 92.91 kB / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.1531, allocations: 4 kB / 496.1 MB, free: 3.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.1532, allocations: 4 kB / 496.1 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.1533, allocations: 7.984 kB / 496.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.1533, allocations: 4 kB / 496.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.1535, allocations: 152.9 kB / 496.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1535, allocations: 4 kB / 496.3 MB, free: 2.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00039/0.1539, allocations: 24 kB / 496.3 MB, free: 2.891 MB / 330.7 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002034/0.156, allocations: 1.178 MB / 497.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003068/0.1563, allocations: 51.98 kB / 497.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1563, allocations: 0 / 497.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.1565, allocations: 31.98 kB / 497.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004057/0.1569, allocations: 27.97 kB / 497.6 MB, free: 1.625 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1588, allocations: 0.8878 MB / 498.5 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.1592, allocations: 0.7121 MB / 499.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1594, allocations: 35.42 kB / 499.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1594, allocations: 4 kB / 499.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.856/3.015, allocations: 2.474 MB / 0.4899 GB, free: 13.43 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat