Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36",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.001644/0.001643, allocations: 189 kB / 16.4 MB, free: 5.621 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.21/2.21, 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.001244/0.001244, allocations: 86.86 kB / 270.9 MB, free: 13.38 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.3111/0.3111, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004759, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1272, allocations: 58.86 MB / 490.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002663/0.1299, allocations: 1.376 MB / 491.7 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1317, allocations: 0.7383 MB / 492.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.1319, allocations: 4 kB / 492.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003718/0.1322, allocations: 79.75 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.1325, allocations: 67.83 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1329, allocations: 71.73 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1331, allocations: 67.84 kB / 492.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1333, allocations: 24.2 kB / 492.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1334, allocations: 43.83 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.1335, allocations: 43.83 kB / 492.8 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1336, allocations: 4 kB / 492.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1337, allocations: 31.92 kB / 492.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.1338, allocations: 23.91 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.355e-05/0.1338, allocations: 37.64 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1341, allocations: 88.09 kB / 493 MB, free: 6.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1341, allocations: 4 kB / 493 MB, free: 6.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1341, allocations: 0 / 493 MB, free: 6.504 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1341, allocations: 0 / 493 MB, free: 6.504 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.0006533/0.1348, allocations: 410.8 kB / 493.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1348, allocations: 16.02 kB / 493.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1349, allocations: 30.56 kB / 493.5 MB, free: 6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.1349, allocations: 11.86 kB / 493.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.1353, allocations: 218.7 kB / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1353, allocations: 8 kB / 493.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1353, allocations: 0 / 493.7 MB, free: 5.727 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1355, allocations: 53.67 kB / 493.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1356, allocations: 0 / 493.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1356, allocations: 4 kB / 493.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1356, allocations: 0 / 493.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1357, allocations: 19.94 kB / 493.8 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.1362, allocations: 292.8 kB / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.1365, allocations: 58.67 kB / 494.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1365, allocations: 0 / 494.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002525/0.1368, allocations: 75.44 kB / 494.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.074e-06/0.1368, allocations: 0 / 494.2 MB, free: 5.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007536/0.1375, allocations: 177.1 kB / 494.4 MB, free: 4.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1376, allocations: 59.34 kB / 494.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.1379, allocations: 222.7 kB / 494.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.138, allocations: 25.7 kB / 494.7 MB, free: 4.645 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.1381, allocations: 166.6 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.1382, allocations: 27.64 kB / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.1382, allocations: 0 / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1383, allocations: 314.8 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.189e-05/0.1384, allocations: 23.98 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1385, allocations: 41.64 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1387, allocations: 20 kB / 495.2 MB, free: 4.047 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1387, allocations: 3.938 kB / 495.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002836/0.139, allocations: 93.61 kB / 495.3 MB, free: 3.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.139, allocations: 6.656 kB / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.139, allocations: 3.953 kB / 495.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.139, allocations: 4 kB / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.1392, allocations: 24.02 kB / 495.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1392, allocations: 0 / 495.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.1393, allocations: 4 kB / 495.4 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1393, allocations: 0 / 495.4 MB, free: 3.906 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.0001518/0.1395, allocations: 137.8 kB / 495.5 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.1395, allocations: 11.81 kB / 495.5 MB, free: 3.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.1396, allocations: 21.39 kB / 495.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1396, allocations: 3.953 kB / 495.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.1397, allocations: 0 / 495.6 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1397, allocations: 4 kB / 495.6 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.1403, allocations: 387.7 kB / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1404, allocations: 0 / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.1404, allocations: 23.92 kB / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.1405, allocations: 4 kB / 496 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1405, allocations: 0 / 496 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1405, allocations: 0 / 496 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1405, allocations: 0 / 496 MB, free: 3.254 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.1409, allocations: 230 kB / 496.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.141, allocations: 93 kB / 496.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.141, allocations: 4 kB / 496.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.1411, allocations: 4 kB / 496.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1412, allocations: 3.984 kB / 496.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.288e-05/0.1412, allocations: 12 kB / 496.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.1415, allocations: 164.3 kB / 496.5 MB, free: 2.711 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1415, allocations: 4 kB / 496.5 MB, free: 2.707 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.1419, allocations: 23.98 kB / 496.5 MB, free: 2.684 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.002057/0.1439, allocations: 1.176 MB / 497.7 MB, free: 1.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003239/0.1443, allocations: 55.95 kB / 497.7 MB, free: 1.477 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.299e-06/0.1443, allocations: 4.062 kB / 497.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1445, allocations: 35.92 kB / 497.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.1449, allocations: 20.17 kB / 497.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1468, allocations: 0.9491 MB / 498.7 MB, free: 424 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1473, allocations: 0.716 MB / 499.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.1474, allocations: 39.42 kB / 499.5 MB, free: 15.63 MB / 346.7 MB Notification: Performance of SimCode: time 2.956e-06/0.1474, allocations: 0 / 499.5 MB, free: 15.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.94/3.087, allocations: 2.586 MB / 0.4903 GB, free: 13.05 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat does not exist to compare? outputFormat=mat