Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33",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.001106/0.001106, allocations: 98.11 kB / 16.99 MB, free: 6.402 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.00131/0.00131, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.39/1.39, allocations: 223.2 MB / 241.8 MB, free: 400 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.2222/0.2222, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003399/0.0003399, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1444, allocations: 61.91 MB / 471.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002074/0.1466, allocations: 1.391 MB / 472.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1479, allocations: 0.792 MB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.198e-05/0.148, allocations: 3.938 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.1483, allocations: 27.84 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001852/0.1485, allocations: 43.88 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1488, allocations: 95.7 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1489, allocations: 67.84 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.1491, allocations: 4.234 kB / 474 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.093e-05/0.1491, allocations: 35.84 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.44e-05/0.1492, allocations: 27.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1492, allocations: 0 / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.299e-05/0.1493, allocations: 27.98 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.444e-05/0.1494, allocations: 19.91 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.885e-05/0.1494, allocations: 41.64 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.1496, allocations: 80.11 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1496, allocations: 0 / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1496, allocations: 3.938 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1496, allocations: 0 / 474.2 MB, free: 11 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.0005399/0.1502, allocations: 395 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1502, allocations: 12.03 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.1503, allocations: 38.5 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1503, allocations: 11.81 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1506, allocations: 214.8 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.1506, allocations: 0 / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1506, allocations: 7.953 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1508, allocations: 53.67 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1508, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.1508, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1508, allocations: 0 / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.99e-05/0.1509, allocations: 23.97 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.1512, allocations: 288.8 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1514, allocations: 58.67 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1514, allocations: 0 / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1516, allocations: 71.45 kB / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1516, allocations: 0 / 475.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005222/0.1522, allocations: 173.2 kB / 475.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.73e-05/0.1523, allocations: 55.34 kB / 475.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1524, allocations: 186.1 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1525, allocations: 25.7 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.1525, allocations: 112.1 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1526, allocations: 19.7 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.1526, allocations: 4 kB / 475.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1527, allocations: 322.8 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.1528, allocations: 24 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.919e-05/0.1528, allocations: 33.7 kB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.1529, allocations: 23.98 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1529, allocations: 4 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001648/0.1531, allocations: 97.44 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1531, allocations: 4 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1531, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1531, allocations: 8.031 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.435e-05/0.1532, allocations: 19.98 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1532, allocations: 0 / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1533, allocations: 4 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1533, allocations: 0 / 476.4 MB, free: 8.523 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.0001374/0.1535, allocations: 138.2 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1535, allocations: 8.094 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.1535, allocations: 12.72 kB / 476.6 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1535, allocations: 11.94 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1536, allocations: 384 / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1536, allocations: 3.984 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.154, allocations: 391.3 kB / 477 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.154, allocations: 4 kB / 477 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.1541, allocations: 8 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1541, allocations: 0 / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1541, allocations: 4 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1541, allocations: 4.031 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1541, allocations: 0 / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1544, allocations: 230 kB / 477.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1544, allocations: 85.02 kB / 477.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.1544, allocations: 8 kB / 477.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1545, allocations: 4 kB / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.1546, allocations: 7.984 kB / 477.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1546, allocations: 7.938 kB / 477.3 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1547, allocations: 147.1 kB / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1547, allocations: 0 / 477.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.155, allocations: 24 kB / 477.5 MB, free: 7.332 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.001425/0.1564, allocations: 1.174 MB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.1566, allocations: 51.98 kB / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1566, allocations: 0 / 478.7 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.1567, allocations: 35.92 kB / 478.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.1569, allocations: 27.88 kB / 478.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.1581, allocations: 0.8432 MB / 479.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1585, allocations: 0.7121 MB / 480.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.484e-05/0.1585, allocations: 17.17 kB / 480.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.1586, allocations: 31.42 kB / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1586, allocations: 0 / 480.4 MB, free: 4.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.1731, allocations: 2.908 MB / 483.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.1734, allocations: 215.5 kB / 483.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/1.933, allocations: 3.938 kB / 483.5 MB, free: 1.488 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat