Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.0009244/0.0009244, allocations: 99.11 kB / 16.98 MB, free: 5.938 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.0008493/0.0008493, allocations: 187.6 kB / 17.87 MB, free: 5.594 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.403/1.403, allocations: 223.2 MB / 241.8 MB, free: 384 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.2352/0.2352, allocations: 44.23 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 14.69 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002522/0.1535, allocations: 1.422 MB / 473 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1552, allocations: 0.7997 MB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1554, allocations: 7.938 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.1558, allocations: 95.77 kB / 473.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1561, allocations: 75.77 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.1565, allocations: 94.89 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.1567, allocations: 79.83 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1569, allocations: 15.98 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.157, allocations: 59.77 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1572, allocations: 47.81 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1572, allocations: 4 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.1573, allocations: 43.92 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.1574, allocations: 27.91 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.1575, allocations: 45.58 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1577, allocations: 116 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1577, allocations: 0 / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.1577, allocations: 4 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1577, allocations: 0 / 474.5 MB, free: 10.72 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007166/0.1585, allocations: 426.7 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1585, allocations: 11.97 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.628e-05/0.1586, allocations: 42.55 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.1587, allocations: 15.81 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.159, allocations: 218.7 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.159, allocations: 4 kB / 475.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1591, allocations: 11.95 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.1593, allocations: 69.66 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1593, allocations: 0 / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1594, allocations: 3.984 kB / 475.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1594, allocations: 4 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1595, allocations: 31.98 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.16, allocations: 336.6 kB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1603, allocations: 74.66 kB / 475.7 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1604, allocations: 8.078 kB / 475.7 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.1606, allocations: 79.31 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1606, allocations: 0 / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009307/0.1615, allocations: 297 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1616, allocations: 51.41 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.1619, allocations: 255.2 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.1619, allocations: 33.69 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/0.162, allocations: 112.1 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.1621, allocations: 39.45 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.834e-06/0.1621, allocations: 4 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1623, allocations: 334.8 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.1623, allocations: 35.98 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1625, allocations: 57.69 kB / 477 MB, free: 7.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.662e-05/0.1625, allocations: 40 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1626, allocations: 3.938 kB / 477 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000286/0.1628, allocations: 165.3 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1629, allocations: 4 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1629, allocations: 8.031 kB / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1629, allocations: 0 / 477.2 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.163, allocations: 27.98 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.163, allocations: 0 / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.1631, allocations: 4 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1631, allocations: 11.98 kB / 477.2 MB, free: 7.719 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 (16): * Single equations (assignments): 16 * 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.000148/0.1633, allocations: 145.6 kB / 477.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.1633, allocations: 19.8 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.1634, allocations: 21.53 kB / 477.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1634, allocations: 4 kB / 477.4 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1634, allocations: 4 kB / 477.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1634, allocations: 3.984 kB / 477.4 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/0.164, allocations: 500 kB / 477.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.164, allocations: 0 / 477.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.1641, allocations: 24 kB / 477.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.1641, allocations: 3.984 kB / 477.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.1641, allocations: 8 kB / 477.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1641, allocations: 3.953 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1641, allocations: 0 / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.1645, allocations: 287.2 kB / 478.2 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.1646, allocations: 96.88 kB / 478.3 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.1646, allocations: 7.984 kB / 478.3 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.874e-05/0.1647, allocations: 8 kB / 478.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.1647, allocations: 7.984 kB / 478.3 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1648, allocations: 4 kB / 478.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.1649, allocations: 187 kB / 478.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.165, allocations: 0 / 478.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1652, allocations: 39.98 kB / 478.6 MB, free: 6.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001861/0.1671, allocations: 1.376 MB / 480 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.1674, allocations: 103.9 kB / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1674, allocations: 0 / 480.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1675, allocations: 55.86 kB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1678, allocations: 24.17 kB / 480.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.1695, allocations: 1.118 MB / 481.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1698, allocations: 0.732 MB / 482 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.745e-05/0.1699, allocations: 29.41 kB / 482 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.17, allocations: 55.41 kB / 482.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.17, allocations: 0 / 482.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.1846, allocations: 3.751 MB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003915/0.185, allocations: 211.8 kB / 486 MB, free: 14.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/1.894, allocations: 0 / 486 MB, free: 14.99 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat does not exist to compare? outputFormat=mat