Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009384/0.0009384, allocations: 97.64 kB / 17 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000924/0.0009241, allocations: 181.5 kB / 17.89 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2385/0.2385, allocations: 44.23 MB / 337.2 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005306/0.0005308, allocations: 18.31 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1396, allocations: 61.93 MB / 471.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.001897/0.1415, allocations: 1.394 MB / 473.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1428, allocations: 0.7997 MB / 473.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.1429, allocations: 4 kB / 473.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1431, allocations: 51.8 kB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.1433, allocations: 43.83 kB / 474 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1435, allocations: 87.83 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1437, allocations: 83.69 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.1438, allocations: 12.23 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.1439, allocations: 39.78 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.091e-05/0.144, allocations: 35.84 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.144, allocations: 4 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.1441, allocations: 32 kB / 474.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.454e-05/0.1442, allocations: 23.89 kB / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.1442, allocations: 41.64 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1444, allocations: 80.11 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1444, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1444, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1444, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 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.0005135/0.1449, allocations: 418.8 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.1449, allocations: 12.03 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.145, allocations: 38.5 kB / 474.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.145, allocations: 11.81 kB / 474.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1453, allocations: 203.4 kB / 475.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1453, allocations: 4 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.1453, allocations: 7.953 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1455, allocations: 49.67 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1455, allocations: 4 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1455, allocations: 8 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1455, allocations: 0 / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.96e-05/0.1456, allocations: 15.98 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.146, allocations: 304.7 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.1462, allocations: 54.69 kB / 475.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.915e-05/0.1462, allocations: 24.84 kB / 475.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.1463, allocations: 7.984 kB / 475.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.1465, allocations: 71.33 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.1465, allocations: 0 / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000517/0.147, allocations: 173.1 kB / 475.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.147, allocations: 51.41 kB / 475.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1473, allocations: 226.7 kB / 476 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1473, allocations: 33.7 kB / 476.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.1474, allocations: 104.1 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1474, allocations: 23.66 kB / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.1474, allocations: 0 / 476.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1475, allocations: 334.8 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.1476, allocations: 19.94 kB / 476.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.093e-05/0.1477, allocations: 33.7 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.718e-05/0.1478, allocations: 28 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1478, allocations: 0 / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001748/0.1479, allocations: 109.4 kB / 476.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.148, allocations: 4 kB / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.148, allocations: 0 / 476.7 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.148, allocations: 4 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.1481, allocations: 15.98 kB / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1481, allocations: 0 / 476.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.1482, allocations: 12.03 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1482, allocations: 4 kB / 476.8 MB, free: 8.309 MB / 350.1 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.0001087/0.1483, allocations: 137.7 kB / 476.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1483, allocations: 7.906 kB / 476.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.386e-05/0.1484, allocations: 21.39 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1484, allocations: 3.984 kB / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1484, allocations: 0 / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1484, allocations: 0 / 476.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000421/0.1488, allocations: 403.2 kB / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1488, allocations: 0 / 477.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.971e-05/0.1489, allocations: 8 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1489, allocations: 4 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1489, allocations: 4.172 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1489, allocations: 0 / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1489, allocations: 3.938 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.1491, allocations: 216.4 kB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.1492, allocations: 88.92 kB / 477.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.1492, allocations: 7.984 kB / 477.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.1493, allocations: 4 kB / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.1493, allocations: 0 / 477.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1493, allocations: 8.359 kB / 477.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1495, allocations: 172.3 kB / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1495, allocations: 0 / 477.8 MB, free: 7.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1498, allocations: 27.98 kB / 477.8 MB, free: 7.109 MB / 350.1 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.00145/0.1512, allocations: 1.099 MB / 478.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1514, allocations: 55.95 kB / 479 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1514, allocations: 3.938 kB / 479 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.832e-05/0.1515, allocations: 28 kB / 479 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.1518, allocations: 28.03 kB / 479.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.1531, allocations: 0.7967 MB / 479.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.1534, allocations: 0.7121 MB / 480.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.1534, allocations: 21.17 kB / 480.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.1535, allocations: 35.42 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1535, allocations: 4 kB / 480.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1677, allocations: 3.077 MB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.168, allocations: 217.9 kB / 483.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/1.968, allocations: 4 kB / 483.9 MB, free: 1.227 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat