Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",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.001722/0.001728, 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.251/2.251, 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.001239/0.001239, allocations: 94.86 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.3086/0.3086, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004898, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1345, allocations: 58.87 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002786/0.1374, allocations: 1.348 MB / 491.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.1393, allocations: 0.7227 MB / 492.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1394, allocations: 0 / 492.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.1398, allocations: 27.84 kB / 492.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.1401, allocations: 51.86 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.1407, allocations: 71.78 kB / 492.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.141, allocations: 59.86 kB / 492.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.318e-05/0.1411, allocations: 8 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.1413, allocations: 39.84 kB / 492.7 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.1415, allocations: 31.84 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.1415, allocations: 0 / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.1417, allocations: 23.98 kB / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.1418, allocations: 19.92 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.1419, allocations: 49.56 kB / 492.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.1422, allocations: 84.09 kB / 492.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1422, allocations: 0 / 492.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1423, allocations: 4 kB / 492.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.1423, allocations: 0 / 492.9 MB, free: 6.676 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009541/0.1432, allocations: 402.9 kB / 493.3 MB, free: 6.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.636e-05/0.1433, allocations: 12.03 kB / 493.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.322e-05/0.1434, allocations: 30.56 kB / 493.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.908e-05/0.1435, allocations: 15.77 kB / 493.3 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.144, allocations: 226.4 kB / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1441, allocations: 0 / 493.5 MB, free: 5.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.1441, allocations: 4 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.1444, allocations: 53.66 kB / 493.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.1444, allocations: 0 / 493.6 MB, free: 5.844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1444, allocations: 3.938 kB / 493.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1445, allocations: 0 / 493.6 MB, free: 5.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1446, allocations: 19.94 kB / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003769/0.145, allocations: 189.7 kB / 493.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.1454, allocations: 58.55 kB / 493.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.1454, allocations: 0 / 493.9 MB, free: 5.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003087/0.1457, allocations: 67.48 kB / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.795e-06/0.1458, allocations: 0 / 493.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005993/0.1464, allocations: 101.4 kB / 494 MB, free: 5.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.1465, allocations: 51.41 kB / 494.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.147, allocations: 266.4 kB / 494.3 MB, free: 4.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.147, allocations: 29.7 kB / 494.4 MB, free: 4.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1472, allocations: 170.6 kB / 494.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.1472, allocations: 11.89 kB / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.1472, allocations: 0 / 494.5 MB, free: 4.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1474, allocations: 314.8 kB / 494.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1476, allocations: 8 kB / 494.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1477, allocations: 33.7 kB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1479, allocations: 16 kB / 494.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1479, allocations: 3.984 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003644/0.1483, allocations: 77.53 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.1483, allocations: 7.438 kB / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1483, allocations: 0 / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.1484, allocations: 0 / 495 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1485, allocations: 16 kB / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.1486, allocations: 0 / 495 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.1487, allocations: 7.953 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.1488, allocations: 11.95 kB / 495 MB, free: 4.277 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 (7): * Single equations (assignments): 7 * 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.0002574/0.149, allocations: 141.8 kB / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.1491, allocations: 11.81 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.502e-05/0.1492, allocations: 17 kB / 495.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.1492, allocations: 0 / 495.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1493, allocations: 3.984 kB / 495.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1493, allocations: 0 / 495.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.1496, allocations: 193.6 kB / 495.4 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.1496, allocations: 3.984 kB / 495.4 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.1497, allocations: 11.94 kB / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/0.1497, allocations: 0 / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.1498, allocations: 0 / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1498, allocations: 0 / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1498, allocations: 0 / 495.4 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.1503, allocations: 117.3 kB / 495.5 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.1504, allocations: 88.92 kB / 495.6 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.1505, allocations: 7.938 kB / 495.6 MB, free: 3.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1506, allocations: 7.984 kB / 495.6 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.1507, allocations: 4 kB / 495.6 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.1507, allocations: 4 kB / 495.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003943/0.1512, allocations: 196.2 kB / 495.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1512, allocations: 0 / 495.8 MB, free: 3.391 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.1517, allocations: 20 kB / 495.8 MB, free: 3.371 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.002567/0.1543, allocations: 0.9527 MB / 496.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.1547, allocations: 43.92 kB / 496.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.1547, allocations: 0 / 496.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1549, allocations: 19.98 kB / 496.8 MB, free: 2.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.1554, allocations: 23.92 kB / 496.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002896/0.1583, allocations: 0.9801 MB / 497.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.1589, allocations: 0.7121 MB / 498.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.1591, allocations: 35.42 kB / 498.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1591, allocations: 0 / 498.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.691/2.85, allocations: 2.506 MB / 0.4894 GB, free: 14.04 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat does not exist to compare? outputFormat=mat