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.001522/0.001522, allocations: 187.3 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.25/2.25, allocations: 205.4 MB / 222.5 MB, free: 13.77 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.001157/0.001157, allocations: 102.8 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.31/0.31, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1315, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002729/0.1343, allocations: 1.391 MB / 491.7 MB, free: 7.828 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1362, allocations: 0.746 MB / 492.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.1363, allocations: 0 / 492.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004322/0.1368, allocations: 99.72 kB / 492.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.1371, allocations: 83.75 kB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.1375, allocations: 71.86 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1377, allocations: 75.89 kB / 492.8 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1378, allocations: 11.98 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.138, allocations: 51.77 kB / 492.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.1381, allocations: 59.75 kB / 492.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.1382, allocations: 4 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.1383, allocations: 24 kB / 492.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.1384, allocations: 27.89 kB / 493 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.078e-05/0.1385, allocations: 45.64 kB / 493 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1387, allocations: 100.1 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1387, allocations: 0 / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1387, allocations: 0 / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1388, allocations: 0 / 493.1 MB, free: 6.426 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000706/0.1395, allocations: 434.7 kB / 493.5 MB, free: 5.953 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1395, allocations: 8.031 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.868e-05/0.1396, allocations: 30.56 kB / 493.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1396, allocations: 19.77 kB / 493.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.14, allocations: 222.6 kB / 493.8 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.14, allocations: 4 kB / 493.8 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1401, allocations: 4 kB / 493.8 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.1403, allocations: 65.59 kB / 493.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1403, allocations: 8 kB / 493.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1404, allocations: 0 / 493.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1404, allocations: 4 kB / 493.9 MB, free: 5.539 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.1405, allocations: 35.92 kB / 493.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.1411, allocations: 312.8 kB / 494.2 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003078/0.1414, allocations: 70.73 kB / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.107e-05/0.1415, allocations: 7.984 kB / 494.3 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.1417, allocations: 79.33 kB / 494.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 5.781e-06/0.1418, allocations: 0 / 494.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009201/0.1427, allocations: 229.1 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1428, allocations: 59.34 kB / 494.7 MB, free: 4.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.1431, allocations: 250.3 kB / 494.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1432, allocations: 29.7 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1433, allocations: 170.6 kB / 495.1 MB, free: 4.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.1434, allocations: 39.45 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-06/0.1434, allocations: 4 kB / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1435, allocations: 310.8 kB / 495.4 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1437, allocations: 31.98 kB / 495.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1438, allocations: 41.7 kB / 495.5 MB, free: 3.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.144, allocations: 40.09 kB / 495.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.144, allocations: 0 / 495.6 MB, free: 3.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003647/0.1444, allocations: 121.5 kB / 495.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.1444, allocations: 19.38 kB / 495.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1444, allocations: 0 / 495.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1444, allocations: 0 / 495.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.1446, allocations: 24 kB / 495.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1446, allocations: 0 / 495.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.1448, allocations: 7.984 kB / 495.7 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1448, allocations: 0 / 495.7 MB, free: 3.562 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 (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.0001756/0.145, allocations: 153.4 kB / 495.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.145, allocations: 15.81 kB / 495.9 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.1451, allocations: 29.34 kB / 495.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1451, allocations: 0 / 495.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1451, allocations: 0 / 495.9 MB, free: 3.363 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1451, allocations: 4 kB / 495.9 MB, free: 3.359 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008808/0.146, allocations: 455.1 kB / 496.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1461, allocations: 0 / 496.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1462, allocations: 15.94 kB / 496.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.1462, allocations: 0 / 496.4 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.1462, allocations: 4 kB / 496.4 MB, free: 2.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.1463, allocations: 3.984 kB / 496.4 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1463, allocations: 0 / 496.4 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.1467, allocations: 245.8 kB / 496.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.1468, allocations: 92.91 kB / 496.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.1469, allocations: 12.03 kB / 496.7 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.147, allocations: 3.938 kB / 496.7 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.1471, allocations: 7.984 kB / 496.7 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.1471, allocations: 8 kB / 496.8 MB, free: 2.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002625/0.1474, allocations: 180.5 kB / 496.9 MB, free: 2.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1474, allocations: 0 / 496.9 MB, free: 2.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004007/0.1478, allocations: 39.98 kB / 497 MB, free: 2.211 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 (11): * Single equations (assignments): 9 * 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.002206/0.15, allocations: 1.2 MB / 498.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003856/0.1505, allocations: 83.84 kB / 498.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1505, allocations: 0 / 498.2 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.1507, allocations: 39.98 kB / 498.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1511, allocations: 28.28 kB / 498.3 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.1533, allocations: 1.071 MB / 499.4 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1538, allocations: 0.7245 MB / 0.4884 GB, free: 15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1539, allocations: 51.36 kB / 0.4884 GB, free: 14.95 MB / 346.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1539, allocations: 0 / 0.4884 GB, free: 14.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.797/2.951, allocations: 2.937 MB / 0.4913 GB, free: 12.02 MB / 346.7 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