Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",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.001576/0.001575, allocations: 183.1 kB / 16.4 MB, free: 5.75 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.113/2.113, allocations: 205.4 MB / 222.5 MB, free: 9.102 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.001134/0.001134, allocations: 92.61 kB / 270.9 MB, free: 8.355 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.5567/0.5567, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004902, allocations: 16 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1349, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00288/0.1378, allocations: 1.386 MB / 491.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1397, allocations: 0.7344 MB / 492.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.1399, allocations: 7.938 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1402, allocations: 27.84 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.1405, allocations: 51.86 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.1409, allocations: 67.8 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.1411, allocations: 63.84 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1412, allocations: 12.22 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1413, allocations: 43.83 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.844e-05/0.1414, allocations: 27.86 kB / 492.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.1415, allocations: 7.984 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.1416, allocations: 23.94 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.1417, allocations: 23.91 kB / 492.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.1417, allocations: 41.64 kB / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.142, allocations: 84.09 kB / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.142, allocations: 0 / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.142, allocations: 0 / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.142, allocations: 0 / 492.9 MB, free: 8.496 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006471/0.1427, allocations: 414.8 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1427, allocations: 12.03 kB / 493.3 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.1428, allocations: 34.56 kB / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.1428, allocations: 11.81 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1432, allocations: 210.8 kB / 493.6 MB, free: 7.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1432, allocations: 4 kB / 493.6 MB, free: 7.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1432, allocations: 4 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1435, allocations: 49.67 kB / 493.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1435, allocations: 4 kB / 493.6 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1435, allocations: 11.95 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1435, allocations: 0 / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1436, allocations: 15.98 kB / 493.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.1441, allocations: 296.7 kB / 494 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.1444, allocations: 58.69 kB / 494 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1444, allocations: 0 / 494 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.1447, allocations: 75.45 kB / 494.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.1447, allocations: 3.938 kB / 494.1 MB, free: 7.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007657/0.1455, allocations: 165.3 kB / 494.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.1455, allocations: 55.34 kB / 494.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.1459, allocations: 226.5 kB / 494.5 MB, free: 6.672 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.1459, allocations: 33.7 kB / 494.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.146, allocations: 166.6 kB / 494.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.52e-05/0.1461, allocations: 31.62 kB / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.1461, allocations: 0 / 494.8 MB, free: 6.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1462, allocations: 314.8 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.1463, allocations: 19.98 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1465, allocations: 33.7 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1466, allocations: 28 kB / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1466, allocations: 0 / 495.2 MB, free: 6.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002885/0.1469, allocations: 97.56 kB / 495.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1469, allocations: 4 kB / 495.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1469, allocations: 3.938 kB / 495.3 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.147, allocations: 4 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1471, allocations: 16.36 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1471, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.1472, allocations: 12 kB / 495.3 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.1473, allocations: 8.031 kB / 495.3 MB, free: 5.887 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 (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.0001721/0.1474, allocations: 133.8 kB / 495.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1475, allocations: 15.77 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.631e-05/0.1476, allocations: 21.41 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1476, allocations: 0 / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1476, allocations: 0 / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.1476, allocations: 3.984 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/0.1483, allocations: 399.3 kB / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1483, allocations: 0 / 495.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.1484, allocations: 8 kB / 495.9 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.1484, allocations: 4 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1484, allocations: 3.984 kB / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1484, allocations: 0 / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1484, allocations: 0 / 495.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.1488, allocations: 225.8 kB / 496.1 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.1489, allocations: 85.02 kB / 496.2 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.1489, allocations: 4 kB / 496.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.1491, allocations: 7.984 kB / 496.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.1491, allocations: 192 / 496.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.1491, allocations: 7.984 kB / 496.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1494, allocations: 176.2 kB / 496.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1494, allocations: 4 kB / 496.4 MB, free: 4.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003685/0.1498, allocations: 20 kB / 496.4 MB, free: 4.676 MB / 378.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.002211/0.152, allocations: 1.186 MB / 497.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000357/0.1524, allocations: 47.98 kB / 497.6 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1524, allocations: 0 / 497.6 MB, free: 3.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.1526, allocations: 35.92 kB / 497.7 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.153, allocations: 28.28 kB / 497.7 MB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.1551, allocations: 0.953 MB / 498.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.1556, allocations: 0.716 MB / 499.4 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1558, allocations: 39.42 kB / 499.4 MB, free: 1.609 MB / 378.7 MB Notification: Performance of SimCode: time 1.683e-06/0.1558, allocations: 4 kB / 499.4 MB, free: 1.605 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.041/3.197, allocations: 2.567 MB / 0.4902 GB, free: 42.12 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat does not exist to compare? outputFormat=mat