Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",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.002432/0.002438, allocations: 182.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.255/2.255, 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.001211/0.001211, allocations: 97.53 kB / 270.9 MB, free: 8.363 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.5319/0.5319, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004876, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1322, allocations: 58.85 MB / 490.3 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002743/0.135, allocations: 1.456 MB / 491.8 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1371, allocations: 0.8045 MB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1373, allocations: 3.938 kB / 492.6 MB, free: 8.609 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.1379, allocations: 279.4 kB / 492.9 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.1385, allocations: 191.6 kB / 493 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.1391, allocations: 119.7 kB / 493.2 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003988/0.1395, allocations: 159.6 kB / 493.3 MB, free: 7.875 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.836e-05/0.1396, allocations: 17.53 kB / 493.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.1398, allocations: 111.6 kB / 493.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.1401, allocations: 143.6 kB / 493.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.1401, allocations: 4 kB / 493.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.1403, allocations: 27.98 kB / 493.6 MB, free: 7.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.1405, allocations: 127.6 kB / 493.7 MB, free: 7.449 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1406, allocations: 81.5 kB / 493.8 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.1411, allocations: 267.8 kB / 494.1 MB, free: 7.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1411, allocations: 0 / 494.1 MB, free: 7.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1411, allocations: 3.938 kB / 494.1 MB, free: 7.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1411, allocations: 0 / 494.1 MB, free: 7.098 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001251/0.1424, allocations: 0.6648 MB / 494.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.1425, allocations: 8.031 kB / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.1425, allocations: 38.56 kB / 494.8 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1426, allocations: 47.42 kB / 494.8 MB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/0.1435, allocations: 423 kB / 495.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1436, allocations: 0 / 495.3 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.1436, allocations: 7.938 kB / 495.3 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.1439, allocations: 87.34 kB / 495.3 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1439, allocations: 0 / 495.3 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.144, allocations: 3.953 kB / 495.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.144, allocations: 4 kB / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.1442, allocations: 27.97 kB / 495.4 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005955/0.1448, allocations: 390.2 kB / 495.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.1452, allocations: 97.33 kB / 495.9 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1452, allocations: 4 kB / 495.9 MB, free: 5.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003552/0.1456, allocations: 109.1 kB / 496 MB, free: 5.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.869e-06/0.1456, allocations: 3.984 kB / 496 MB, free: 5.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007539/0.1464, allocations: 193 kB / 496.2 MB, free: 4.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.1465, allocations: 85.05 kB / 496.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.1483, allocations: 1.014 MB / 497.3 MB, free: 3.684 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1484, allocations: 25.7 kB / 497.3 MB, free: 3.652 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.1486, allocations: 242.6 kB / 497.5 MB, free: 3.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.1487, allocations: 27.64 kB / 497.6 MB, free: 3.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.1487, allocations: 4 kB / 497.6 MB, free: 3.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1488, allocations: 314.8 kB / 497.9 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.149, allocations: 27.98 kB / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.1492, allocations: 67.34 kB / 498 MB, free: 2.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.1494, allocations: 28.5 kB / 498 MB, free: 2.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.1494, allocations: 4 kB / 498 MB, free: 2.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000438/0.1498, allocations: 121.6 kB / 498.1 MB, free: 2.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.1499, allocations: 4 kB / 498.1 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1499, allocations: 0 / 498.1 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.1499, allocations: 8.062 kB / 498.1 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.1501, allocations: 27.92 kB / 498.1 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.1502, allocations: 7.953 kB / 498.2 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1504, allocations: 7.906 kB / 498.2 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1504, allocations: 4 kB / 498.2 MB, free: 2.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003603/0.1508, allocations: 225.6 kB / 498.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.1509, allocations: 51.34 kB / 498.4 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.151, allocations: 55.84 kB / 498.5 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.151, allocations: 11.94 kB / 498.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.151, allocations: 0 / 498.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.1511, allocations: 7.891 kB / 498.5 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1516, allocations: 337.4 kB / 498.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1516, allocations: 0 / 498.8 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.1516, allocations: 8 kB / 498.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1517, allocations: 0 / 498.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.1517, allocations: 4 kB / 498.8 MB, free: 2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1517, allocations: 3.938 kB / 498.9 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1517, allocations: 0 / 498.9 MB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005597/0.1523, allocations: 219 kB / 499.1 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.1525, allocations: 140.4 kB / 499.2 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.375e-05/0.1526, allocations: 11.98 kB / 499.2 MB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1528, allocations: 4 kB / 499.2 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.1528, allocations: 11.94 kB / 499.2 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.1529, allocations: 8.125 kB / 499.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.1542, allocations: 0.7487 MB / 500 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1542, allocations: 0 / 500 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004321/0.1547, allocations: 43.98 kB / 0.4883 GB, free: 0.7734 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.3263/0.481, allocations: 1.115 MB / 0.4894 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.4815, allocations: 83.86 kB / 0.4895 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4815, allocations: 3.688 kB / 0.4895 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4817, allocations: 44.72 kB / 0.4895 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006194/0.4824, allocations: 62.94 kB / 0.4896 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/0.4887, allocations: 3.228 MB / 0.4927 GB, free: 41.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.4893, allocations: 0.8492 MB / 0.4936 GB, free: 41.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.4896, allocations: 142.5 kB / 0.4937 GB, free: 41.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.243e-06/0.4897, allocations: 0 / 0.4937 GB, free: 41.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.034/3.523, allocations: 7.599 MB / 0.5011 GB, free: 40.01 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat