Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.001144/0.001144, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 176.6 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.942/1.942, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4373/0.4373, allocations: 43.55 MB / 314.5 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005671/0.0005673, allocations: 16 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1593, allocations: 58.87 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002467/0.1618, allocations: 1.462 MB / 444.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1632, allocations: 0.8045 MB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1634, allocations: 0 / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006247/0.164, allocations: 279.4 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.1644, allocations: 191.5 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.1649, allocations: 123.7 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.1652, allocations: 155.7 kB / 445.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.1653, allocations: 13.55 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.1654, allocations: 123.6 kB / 446 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1657, allocations: 135.7 kB / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.1657, allocations: 4 kB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.691e-05/0.1658, allocations: 27.98 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.1659, allocations: 135.6 kB / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.279e-05/0.166, allocations: 73.45 kB / 446.4 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003007/0.1663, allocations: 267.8 kB / 446.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1663, allocations: 0 / 446.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1663, allocations: 0 / 446.6 MB, free: 9.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1663, allocations: 4 kB / 446.6 MB, free: 9.395 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001002/0.1674, allocations: 0.6686 MB / 447.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.1674, allocations: 12.03 kB / 447.3 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.1675, allocations: 34.55 kB / 447.3 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.507e-05/0.1676, allocations: 47.42 kB / 447.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.1683, allocations: 423 kB / 447.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1683, allocations: 8 kB / 447.8 MB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1684, allocations: 3.984 kB / 447.8 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.1686, allocations: 87.36 kB / 447.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1686, allocations: 3.938 kB / 447.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.1687, allocations: 7.953 kB / 447.9 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1687, allocations: 0 / 447.9 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.1688, allocations: 31.97 kB / 447.9 MB, free: 7.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1693, allocations: 366.4 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.1696, allocations: 109.3 kB / 448.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1696, allocations: 0 / 448.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.17, allocations: 109 kB / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.17, allocations: 4 kB / 448.5 MB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005381/0.1705, allocations: 193.4 kB / 448.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.1706, allocations: 81.06 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.1718, allocations: 1.01 MB / 449.8 MB, free: 5.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1718, allocations: 29.7 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.1721, allocations: 228.1 kB / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/0.1721, allocations: 27.66 kB / 450.1 MB, free: 5.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.1721, allocations: 4 kB / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.1724, allocations: 366.8 kB / 450.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.1725, allocations: 27.97 kB / 450.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1726, allocations: 55.42 kB / 450.5 MB, free: 5.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.569e-05/0.1727, allocations: 40.11 kB / 450.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1727, allocations: 0 / 450.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002996/0.173, allocations: 161 kB / 450.7 MB, free: 5.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.173, allocations: 8 kB / 450.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1731, allocations: 0 / 450.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1731, allocations: 0 / 450.7 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1732, allocations: 27.98 kB / 450.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1733, allocations: 3.953 kB / 450.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1734, allocations: 19.95 kB / 450.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1734, allocations: 7.938 kB / 450.8 MB, free: 4.965 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002755/0.1737, allocations: 225.6 kB / 451 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.1737, allocations: 51.33 kB / 451 MB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.92e-05/0.1739, allocations: 55.86 kB / 451.1 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1739, allocations: 3.984 kB / 451.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1739, allocations: 0 / 451.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1739, allocations: 7.953 kB / 451.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.1743, allocations: 337.4 kB / 451.4 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1743, allocations: 4 kB / 451.4 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.1743, allocations: 8 kB / 451.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1743, allocations: 0 / 451.5 MB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1743, allocations: 3.984 kB / 451.5 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1743, allocations: 4 kB / 451.5 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1744, allocations: 3.938 kB / 451.5 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1747, allocations: 219.1 kB / 451.7 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.1749, allocations: 144.4 kB / 451.8 MB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.175, allocations: 7.938 kB / 451.8 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.539e-05/0.1751, allocations: 4 kB / 451.8 MB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1751, allocations: 15.94 kB / 451.9 MB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1752, allocations: 7.984 kB / 451.9 MB, free: 3.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008678/0.176, allocations: 0.7487 MB / 452.6 MB, free: 3.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.176, allocations: 0 / 452.6 MB, free: 3.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.1764, allocations: 40 kB / 452.6 MB, free: 2.992 MB / 382.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001467/0.1778, allocations: 1.118 MB / 453.8 MB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.1781, allocations: 87.91 kB / 453.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1781, allocations: 0 / 453.9 MB, free: 1.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.1782, allocations: 39.92 kB / 453.9 MB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1786, allocations: 62.22 kB / 454 MB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2675/0.4461, allocations: 3.182 MB / 457.1 MB, free: 46.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4465, allocations: 0.8487 MB / 458 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002/0.4467, allocations: 54.41 kB / 458 MB, free: 45.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.447, allocations: 146.1 kB / 458.2 MB, free: 45.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.304e-06/0.447, allocations: 0 / 458.2 MB, free: 45.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.4674, allocations: 7.869 MB / 466 MB, free: 44.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.4676, allocations: 208.5 kB / 466.2 MB, free: 44.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.325, allocations: 4 kB / 466.3 MB, free: 44.71 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat