Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",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.0009466/0.0009466, allocations: 95.77 kB / 16.99 MB, free: 5.941 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.001038/0.001039, allocations: 182.6 kB / 17.87 MB, free: 5.609 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.291/1.291, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.221/0.221, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003563, allocations: 16 kB / 409.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 61.91 MB / 471.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002578/0.1378, allocations: 1.387 MB / 472.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.1395, allocations: 0.7919 MB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1396, allocations: 0 / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.14, allocations: 35.78 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.1403, allocations: 39.88 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.1407, allocations: 94.33 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.141, allocations: 55.88 kB / 473.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1411, allocations: 24.19 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1413, allocations: 31.86 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.1414, allocations: 27.84 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1415, allocations: 4 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1416, allocations: 24 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.103e-05/0.1417, allocations: 11.92 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.609e-05/0.1418, allocations: 37.64 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.142, allocations: 88.08 kB / 474.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.142, allocations: 3.938 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.142, allocations: 0 / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.142, allocations: 4 kB / 474.2 MB, free: 10.93 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.0006501/0.1427, allocations: 391 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1428, allocations: 12.03 kB / 474.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.1428, allocations: 30.56 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.1429, allocations: 7.906 kB / 474.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1432, allocations: 210.8 kB / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1432, allocations: 0 / 474.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1433, allocations: 7.953 kB / 474.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.1435, allocations: 57.67 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1435, allocations: 4 kB / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1435, allocations: 0 / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1435, allocations: 0 / 474.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.1436, allocations: 19.98 kB / 474.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.1441, allocations: 288.8 kB / 475.2 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1443, allocations: 62.67 kB / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1443, allocations: 0 / 475.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.1445, allocations: 63.52 kB / 475.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.1445, allocations: 0 / 475.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006118/0.1451, allocations: 165.3 kB / 475.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.1452, allocations: 55.34 kB / 475.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.1454, allocations: 176.5 kB / 475.7 MB, free: 9.211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1454, allocations: 29.64 kB / 475.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.1455, allocations: 108 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.1456, allocations: 27.64 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.1456, allocations: 4 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1457, allocations: 326.8 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.993e-05/0.1458, allocations: 19.98 kB / 476.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.229e-05/0.1459, allocations: 33.7 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.1459, allocations: 28 kB / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1459, allocations: 0 / 476.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000202/0.1462, allocations: 97.52 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1462, allocations: 6.188 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1462, allocations: 4 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1462, allocations: 0 / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.1463, allocations: 12 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1463, allocations: 0 / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.61e-05/0.1464, allocations: 16.02 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1464, allocations: 4 kB / 476.4 MB, free: 8.48 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.0001089/0.1465, allocations: 129.2 kB / 476.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1466, allocations: 7.906 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.1466, allocations: 16.7 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1466, allocations: 0 / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1466, allocations: 4 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1466, allocations: 0 / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.1471, allocations: 399.2 kB / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1471, allocations: 0 / 477 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.1472, allocations: 8 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1472, allocations: 0 / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1472, allocations: 8.359 kB / 477 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.1472, allocations: 0 / 477 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1472, allocations: 0 / 477 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.1475, allocations: 226.2 kB / 477.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.1475, allocations: 93 kB / 477.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1476, allocations: 3.984 kB / 477.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.1477, allocations: 4 kB / 477.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.1477, allocations: 7.938 kB / 477.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1477, allocations: 7.984 kB / 477.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1478, allocations: 138.9 kB / 477.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1479, allocations: 4 kB / 477.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1481, allocations: 27.94 kB / 477.5 MB, free: 7.309 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.001619/0.1498, allocations: 1.179 MB / 478.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.15, allocations: 47.98 kB / 478.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.15, allocations: 4 kB / 478.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.1501, allocations: 31.92 kB / 478.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.1504, allocations: 32.05 kB / 478.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1516, allocations: 0.8079 MB / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.1519, allocations: 0.708 MB / 480.3 MB, free: 4.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.635e-05/0.152, allocations: 21.17 kB / 480.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.735e-05/0.1521, allocations: 31.42 kB / 480.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1521, allocations: 0 / 480.3 MB, free: 4.516 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.1662, allocations: 2.842 MB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.1664, allocations: 223.6 kB / 483.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/2.022, allocations: 0 / 483.4 MB, free: 1.559 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat