Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",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.001664/0.001668, allocations: 188.9 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.362/2.362, 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.001176/0.001175, allocations: 102.8 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.3017/0.3017, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005078, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1299, allocations: 58.87 MB / 490.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002821/0.1328, allocations: 1.376 MB / 491.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.1347, allocations: 0.7461 MB / 492.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1349, allocations: 0 / 492.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.1352, allocations: 31.84 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.1355, allocations: 43.88 kB / 492.5 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.1359, allocations: 71.78 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1362, allocations: 63.86 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1363, allocations: 12.23 kB / 492.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1364, allocations: 39.83 kB / 492.7 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.606e-05/0.1365, allocations: 19.86 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.1365, allocations: 4 kB / 492.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1367, allocations: 31.92 kB / 492.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.1367, allocations: 15.92 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.1368, allocations: 37.64 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.137, allocations: 92.08 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.137, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.137, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.137, allocations: 0 / 492.9 MB, free: 6.625 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.0006499/0.1377, allocations: 398.9 kB / 493.3 MB, free: 6.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1378, allocations: 8.031 kB / 493.3 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.1378, allocations: 34.56 kB / 493.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.1379, allocations: 11.86 kB / 493.4 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.1382, allocations: 198.9 kB / 493.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1382, allocations: 4 kB / 493.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.1383, allocations: 7.938 kB / 493.6 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.1385, allocations: 57.67 kB / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1385, allocations: 0 / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1385, allocations: 0 / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1385, allocations: 0 / 493.6 MB, free: 5.816 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1387, allocations: 23.94 kB / 493.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1392, allocations: 280.9 kB / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.1394, allocations: 66.61 kB / 494 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1395, allocations: 3.984 kB / 494 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.1398, allocations: 63.52 kB / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.1398, allocations: 0 / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007952/0.1406, allocations: 173.2 kB / 494.2 MB, free: 5.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1406, allocations: 55.41 kB / 494.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.1409, allocations: 194.1 kB / 494.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.141, allocations: 25.7 kB / 494.5 MB, free: 4.844 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1411, allocations: 166.6 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.1411, allocations: 19.66 kB / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.1412, allocations: 4 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1413, allocations: 318.8 kB / 495 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.1414, allocations: 27.92 kB / 495 MB, free: 4.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1415, allocations: 29.72 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1417, allocations: 27.98 kB / 495.1 MB, free: 4.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1417, allocations: 3.938 kB / 495.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002986/0.142, allocations: 93.61 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.142, allocations: 8 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.142, allocations: 3.953 kB / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1421, allocations: 384 / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1422, allocations: 19.98 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1423, allocations: 0 / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.1424, allocations: 8.031 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.1424, allocations: 4 kB / 495.2 MB, free: 4.102 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.00016/0.1425, allocations: 129.8 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.1426, allocations: 15.81 kB / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.493e-05/0.1427, allocations: 16.7 kB / 495.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1427, allocations: 3.953 kB / 495.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.1427, allocations: 0 / 495.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1427, allocations: 3.938 kB / 495.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006668/0.1434, allocations: 395.4 kB / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1434, allocations: 0 / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.1435, allocations: 15.89 kB / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1436, allocations: 0 / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.1436, allocations: 4 kB / 495.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1436, allocations: 3.984 kB / 495.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1436, allocations: 0 / 495.8 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.144, allocations: 214 kB / 496 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.1441, allocations: 88.92 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.1441, allocations: 4 kB / 496.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1442, allocations: 7.984 kB / 496.1 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.1443, allocations: 7.938 kB / 496.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.1443, allocations: 4 kB / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.1445, allocations: 147.2 kB / 496.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1445, allocations: 0 / 496.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003746/0.1449, allocations: 24 kB / 496.3 MB, free: 2.918 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.002024/0.1469, allocations: 1.179 MB / 497.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1473, allocations: 59.91 kB / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1473, allocations: 0 / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.1475, allocations: 28.05 kB / 497.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.1479, allocations: 31.97 kB / 497.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.1497, allocations: 0.868 MB / 498.4 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1501, allocations: 0.7004 MB / 499.1 MB, free: 0 / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.1502, allocations: 35.5 kB / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1502, allocations: 0 / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.69/2.84, allocations: 2.412 MB / 0.4898 GB, free: 13.55 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat