Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",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.001609/0.001609, allocations: 188.3 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.304/2.304, 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.001178/0.001178, allocations: 90.78 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.3027/0.3027, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.000492, allocations: 20 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1321, allocations: 58.85 MB / 490.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002644/0.1348, allocations: 1.379 MB / 491.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1367, allocations: 0.7383 MB / 492.4 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.1368, allocations: 3.938 kB / 492.4 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.1372, allocations: 27.84 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1375, allocations: 51.86 kB / 492.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.1379, allocations: 79.78 kB / 492.6 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.1381, allocations: 59.86 kB / 492.7 MB, free: 6.867 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1382, allocations: 8.219 kB / 492.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1383, allocations: 43.83 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.506e-05/0.1384, allocations: 31.84 kB / 492.7 MB, free: 6.785 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.1385, allocations: 4 kB / 492.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.1386, allocations: 23.94 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1387, allocations: 27.91 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1388, allocations: 41.64 kB / 492.8 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.139, allocations: 96.08 kB / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.139, allocations: 0 / 492.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1391, allocations: 4 kB / 492.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1391, allocations: 0 / 492.9 MB, free: 6.586 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.0007064/0.1398, allocations: 418.7 kB / 493.3 MB, free: 6.129 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.1399, allocations: 12.03 kB / 493.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.1399, allocations: 30.56 kB / 493.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.14, allocations: 23.77 kB / 493.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.1403, allocations: 218.5 kB / 493.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1404, allocations: 0 / 493.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1404, allocations: 7.984 kB / 493.6 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1406, allocations: 53.67 kB / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1407, allocations: 0 / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1407, allocations: 0 / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1407, allocations: 0 / 493.7 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.1408, allocations: 27.88 kB / 493.7 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.1414, allocations: 293 kB / 494 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1416, allocations: 54.67 kB / 494.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1417, allocations: 4 kB / 494.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.142, allocations: 67.45 kB / 494.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.685e-06/0.142, allocations: 4 kB / 494.1 MB, free: 5.223 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008701/0.1429, allocations: 188.9 kB / 494.3 MB, free: 5.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.1429, allocations: 55.41 kB / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.1434, allocations: 258.5 kB / 494.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1434, allocations: 29.7 kB / 494.6 MB, free: 4.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1435, allocations: 166.6 kB / 494.8 MB, free: 4.496 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.1436, allocations: 23.7 kB / 494.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.1436, allocations: 4 kB / 494.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1438, allocations: 314.8 kB / 495.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.1439, allocations: 19.98 kB / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.144, allocations: 41.64 kB / 495.2 MB, free: 4.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1441, allocations: 23.94 kB / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1441, allocations: 0 / 495.2 MB, free: 4.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00031/0.1445, allocations: 93.61 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.1445, allocations: 11.44 kB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.1445, allocations: 7.984 kB / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1446, allocations: 0 / 495.3 MB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.1447, allocations: 15.94 kB / 495.4 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1447, allocations: 4 kB / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.878e-05/0.1448, allocations: 3.984 kB / 495.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1449, allocations: 4 kB / 495.4 MB, free: 3.922 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.0001789/0.1451, allocations: 141.8 kB / 495.5 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.1451, allocations: 15.81 kB / 495.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.1452, allocations: 21.41 kB / 495.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.1452, allocations: 7.953 kB / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1452, allocations: 0 / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1452, allocations: 3.984 kB / 495.6 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007202/0.146, allocations: 395.7 kB / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.146, allocations: 0 / 495.9 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.1461, allocations: 19.94 kB / 496 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.1461, allocations: 3.984 kB / 496 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1461, allocations: 12.03 kB / 496 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.1461, allocations: 240 / 496 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1461, allocations: 0 / 496 MB, free: 3.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.1465, allocations: 221.8 kB / 496.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.379e-05/0.1466, allocations: 96.91 kB / 496.3 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.1467, allocations: 4 kB / 496.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.1468, allocations: 4 kB / 496.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.1469, allocations: 11.98 kB / 496.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1469, allocations: 4 kB / 496.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002775/0.1472, allocations: 196.2 kB / 496.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1472, allocations: 0 / 496.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000382/0.1476, allocations: 27.98 kB / 496.5 MB, free: 2.648 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.002066/0.1497, allocations: 1.178 MB / 497.7 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003369/0.1501, allocations: 59.91 kB / 497.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1501, allocations: 0 / 497.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1502, allocations: 24 kB / 497.8 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1507, allocations: 27.97 kB / 497.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1528, allocations: 1.031 MB / 498.8 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.1534, allocations: 0.7199 MB / 499.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.1535, allocations: 47.41 kB / 499.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1535, allocations: 0 / 499.6 MB, free: 15.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.73/2.883, allocations: 2.747 MB / 0.4906 GB, free: 12.76 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat