Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.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.Test48,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48",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.001565/0.00157, 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.136/2.136, 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.001212/0.001212, 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.3235/0.3235, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006444/0.0006446, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1322, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00281/0.1351, allocations: 1.383 MB / 491.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.137, allocations: 0.7422 MB / 492.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.1372, allocations: 0 / 492.5 MB, free: 7.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1375, allocations: 31.83 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002733/0.1378, allocations: 51.86 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.1382, allocations: 75.8 kB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1385, allocations: 67.78 kB / 492.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1386, allocations: 4.234 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1387, allocations: 43.83 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.1388, allocations: 23.86 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1388, allocations: 4 kB / 492.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.139, allocations: 27.94 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.1391, allocations: 27.89 kB / 492.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.1391, allocations: 45.64 kB / 492.8 MB, free: 6.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1394, allocations: 96.08 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1394, allocations: 0 / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1394, allocations: 4 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1394, allocations: 0 / 492.9 MB, free: 6.59 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.0007333/0.1402, allocations: 418.7 kB / 493.4 MB, free: 6.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.1403, allocations: 12.03 kB / 493.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.1403, allocations: 30.56 kB / 493.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.1404, allocations: 19.77 kB / 493.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1407, allocations: 218.5 kB / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1408, allocations: 0 / 493.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1408, allocations: 4 kB / 493.6 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.141, allocations: 53.67 kB / 493.7 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1411, allocations: 0 / 493.7 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1411, allocations: 0 / 493.7 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1411, allocations: 0 / 493.7 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1412, allocations: 27.88 kB / 493.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.1418, allocations: 296.9 kB / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.142, allocations: 54.67 kB / 494.1 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1421, allocations: 4 kB / 494.1 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.1424, allocations: 71.45 kB / 494.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.806e-06/0.1424, allocations: 4 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008338/0.1432, allocations: 184.9 kB / 494.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.1433, allocations: 55.41 kB / 494.4 MB, free: 4.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.1438, allocations: 258.5 kB / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1438, allocations: 29.7 kB / 494.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1439, allocations: 162.6 kB / 494.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.939e-05/0.144, allocations: 27.69 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/0.144, allocations: 8 kB / 494.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1442, allocations: 314.8 kB / 495.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.1443, allocations: 19.98 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1444, allocations: 41.64 kB / 495.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1446, allocations: 20 kB / 495.2 MB, free: 4.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1446, allocations: 3.938 kB / 495.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003174/0.1449, allocations: 89.62 kB / 495.3 MB, free: 3.973 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1449, allocations: 8 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.145, allocations: 7.984 kB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.145, allocations: 0 / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1452, allocations: 19.92 kB / 495.4 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1452, allocations: 4 kB / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.763e-05/0.1453, allocations: 0 / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.1453, allocations: 4 kB / 495.4 MB, free: 3.93 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.0001971/0.1455, allocations: 141.8 kB / 495.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.1456, allocations: 19.8 kB / 495.5 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.1456, allocations: 17.41 kB / 495.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1457, allocations: 7.953 kB / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1457, allocations: 0 / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1457, allocations: 0 / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007709/0.1465, allocations: 407.3 kB / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.1465, allocations: 0 / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.1466, allocations: 11.95 kB / 496 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.792e-06/0.1466, allocations: 0 / 496 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1466, allocations: 8.016 kB / 496 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.1467, allocations: 4 kB / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1467, allocations: 0 / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.1471, allocations: 217.8 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.1472, allocations: 92.92 kB / 496.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.1472, allocations: 7.984 kB / 496.3 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.1474, allocations: 4 kB / 496.3 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.1474, allocations: 4 kB / 496.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.1475, allocations: 12.36 kB / 496.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002898/0.1478, allocations: 196.2 kB / 496.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1478, allocations: 0 / 496.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003798/0.1482, allocations: 24 kB / 496.5 MB, free: 2.668 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.002084/0.1503, allocations: 1.198 MB / 497.7 MB, free: 1.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003095/0.1506, allocations: 55.92 kB / 497.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1507, allocations: 0 / 497.8 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1508, allocations: 27.98 kB / 497.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.1512, allocations: 23.97 kB / 497.8 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.1533, allocations: 1.027 MB / 498.8 MB, free: 316 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.1538, allocations: 0.7238 MB / 499.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.1539, allocations: 39.42 kB / 499.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1539, allocations: 0 / 499.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.802/2.956, allocations: 2.75 MB / 0.4906 GB, free: 12.77 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat does not exist to compare? outputFormat=mat