Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.0007366/0.0007398, allocations: 97.22 kB / 17 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.0007862/0.0007863, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.36/1.36, allocations: 223.3 MB / 241.9 MB, free: 308 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.1927/0.1927, allocations: 44.21 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 15.98 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.138, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002301/0.1404, allocations: 1.394 MB / 473.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1419, allocations: 0.7958 MB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.142, allocations: 4 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.1423, allocations: 39.83 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1425, allocations: 43.83 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.1429, allocations: 90.83 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.143, allocations: 83.7 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1432, allocations: 12.22 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.343e-05/0.1433, allocations: 39.78 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.1434, allocations: 23.86 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1434, allocations: 8 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.8e-05/0.1435, allocations: 35.98 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.1436, allocations: 19.91 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.1436, allocations: 37.64 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1438, allocations: 80.11 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1438, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1438, allocations: 0 / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1438, 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.0006749/0.1445, allocations: 405.1 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.1446, allocations: 16.03 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.1446, allocations: 34.56 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1447, allocations: 11.81 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.145, allocations: 202.9 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.145, allocations: 7.922 kB / 475 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.145, allocations: 11.95 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.1452, allocations: 49.67 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1452, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1452, allocations: 4 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1452, allocations: 4 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.1453, allocations: 19.98 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.1458, allocations: 284.9 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.146, allocations: 58.61 kB / 475.4 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.146, allocations: 16.86 kB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.146, allocations: 8 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.1463, allocations: 67.39 kB / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1463, allocations: 0 / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005566/0.1468, allocations: 169.2 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1469, allocations: 55.41 kB / 475.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.1471, allocations: 186.2 kB / 475.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1471, allocations: 29.7 kB / 476 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.993e-05/0.1472, allocations: 108 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.1473, allocations: 19.72 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-06/0.1473, allocations: 4 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1474, allocations: 330.7 kB / 476.4 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.743e-05/0.1475, allocations: 23.92 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.1475, allocations: 33.7 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.1476, allocations: 28 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1476, allocations: 0 / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.1478, allocations: 105.4 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1478, allocations: 4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.1478, allocations: 0 / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.1479, allocations: 4 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.148, allocations: 12 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.148, allocations: 160 / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.148, allocations: 12.17 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.148, allocations: 4.031 kB / 476.6 MB, free: 8.391 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.0001111/0.1482, allocations: 130.3 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.1482, allocations: 7.906 kB / 476.8 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.1482, allocations: 20.69 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1482, allocations: 3.938 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1483, allocations: 4 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1483, allocations: 0 / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/0.1487, allocations: 391.3 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1488, allocations: 3.938 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.1488, allocations: 11.98 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1488, allocations: 0 / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1488, allocations: 8 kB / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1488, allocations: 0 / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1488, allocations: 0 / 477.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1491, allocations: 208.2 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.1491, allocations: 93 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1492, allocations: 0 / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1492, allocations: 4.375 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1493, allocations: 11.92 kB / 477.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1493, allocations: 12 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1495, allocations: 139.2 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1495, allocations: 0 / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1497, allocations: 27.98 kB / 477.7 MB, free: 7.227 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.001503/0.1512, allocations: 1.103 MB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1514, allocations: 59.91 kB / 478.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1514, allocations: 3.938 kB / 478.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.192e-05/0.1515, allocations: 31.92 kB / 478.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.1519, allocations: 24.3 kB / 478.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1531, allocations: 0.7 MB / 479.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.1534, allocations: 0.7004 MB / 480.3 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.924e-05/0.1535, allocations: 12.88 kB / 480.3 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.1536, allocations: 35.42 kB / 480.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1536, allocations: 0 / 480.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.1689, allocations: 2.926 MB / 483.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/0.1693, allocations: 223.4 kB / 483.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.023, allocations: 3.938 kB / 483.5 MB, free: 1.594 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat