Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.0009325/0.0009322, allocations: 97.53 kB / 15.69 MB, free: 488 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.001021/0.001021, allocations: 173.6 kB / 16.57 MB, free: 6.379 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.767/1.767, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4731/0.4731, allocations: 43.55 MB / 314.5 MB, free: 8.719 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.0005641/0.0005649, allocations: 16 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1661, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002293/0.1685, allocations: 1.466 MB / 444.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1705, allocations: 1.367 MB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.1706, allocations: 4 kB / 445.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004205/0.1711, allocations: 47.75 kB / 445.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.1714, allocations: 71.77 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.1718, allocations: 127.7 kB / 445.9 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1721, allocations: 111.8 kB / 446 MB, free: 9.746 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.173e-05/0.1722, allocations: 13.55 kB / 446.1 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1723, allocations: 75.69 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.1725, allocations: 51.7 kB / 446.2 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.1725, allocations: 4 kB / 446.2 MB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.1727, allocations: 43.92 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.645e-05/0.1727, allocations: 27.89 kB / 446.3 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.1728, allocations: 45.64 kB / 446.3 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1731, allocations: 131.9 kB / 446.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1731, allocations: 0 / 446.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1731, allocations: 0 / 446.4 MB, free: 9.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1731, allocations: 0 / 446.4 MB, free: 9.352 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.0008298/0.1739, allocations: 450.6 kB / 446.9 MB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.174, allocations: 15.97 kB / 446.9 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.972e-05/0.1741, allocations: 38.55 kB / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.1741, allocations: 11.91 kB / 446.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.1745, allocations: 246.5 kB / 447.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1746, allocations: 3.984 kB / 447.2 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1746, allocations: 4 kB / 447.2 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.1748, allocations: 93.09 kB / 447.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1749, allocations: 0 / 447.3 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.1749, allocations: 15.94 kB / 447.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1749, allocations: 0 / 447.3 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1751, allocations: 27.92 kB / 447.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.1754, allocations: 210.6 kB / 447.5 MB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.1756, allocations: 109.3 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1757, allocations: 4.078 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002631/0.176, allocations: 113 kB / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.966e-06/0.176, allocations: 0 / 447.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004351/0.1764, allocations: 161.4 kB / 447.9 MB, free: 7.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.1765, allocations: 140.4 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.1768, allocations: 207.8 kB / 448.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1768, allocations: 29.7 kB / 448.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.1769, allocations: 112.1 kB / 448.4 MB, free: 7.137 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.1769, allocations: 35.62 kB / 448.4 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.177, allocations: 4 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1771, allocations: 326.8 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.429e-05/0.1772, allocations: 31.97 kB / 448.8 MB, free: 6.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.786e-05/0.1773, allocations: 61.14 kB / 448.8 MB, free: 6.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/0.1774, allocations: 40.02 kB / 448.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1774, allocations: 4 kB / 448.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002464/0.1777, allocations: 129.4 kB / 449 MB, free: 6.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1777, allocations: 4 kB / 449 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1777, allocations: 4 kB / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1778, allocations: 0 / 449 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1779, allocations: 23.98 kB / 449 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1779, allocations: 8.016 kB / 449 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.178, allocations: 19.89 kB / 449.1 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.178, allocations: 4 kB / 449.1 MB, free: 6.422 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.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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.0001308/0.1782, allocations: 138.3 kB / 449.2 MB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1782, allocations: 15.81 kB / 449.2 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.1782, allocations: 20.98 kB / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1783, allocations: 0 / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1783, allocations: 0 / 449.2 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1783, allocations: 11.95 kB / 449.2 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002021/0.1785, allocations: 217.5 kB / 449.4 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1785, allocations: 4 kB / 449.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.913e-05/0.1785, allocations: 4 kB / 449.5 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.1785, allocations: 4 kB / 449.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1786, allocations: 4 kB / 449.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1786, allocations: 0 / 449.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.1786, allocations: 7.984 kB / 449.5 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.1789, allocations: 183.4 kB / 449.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.179, allocations: 96.91 kB / 449.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.179, allocations: 8 kB / 449.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.1791, allocations: 4 kB / 449.8 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.1792, allocations: 15.88 kB / 449.8 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.1792, allocations: 4 kB / 449.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.1794, allocations: 169.5 kB / 449.9 MB, free: 5.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1794, allocations: 0 / 449.9 MB, free: 5.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1797, allocations: 39.98 kB / 450 MB, free: 5.391 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.001633/0.1813, allocations: 1.115 MB / 451.1 MB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002454/0.1816, allocations: 83.89 kB / 451.2 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1816, allocations: 0 / 451.2 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.1817, allocations: 39.92 kB / 451.2 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.182, allocations: 59.16 kB / 451.3 MB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1836, allocations: 1.311 MB / 452.6 MB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.184, allocations: 0.7167 MB / 453.3 MB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.1841, allocations: 45.88 kB / 453.3 MB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/0.1842, allocations: 59.41 kB / 453.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1842, allocations: 0 / 453.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2797/0.4639, allocations: 4.101 MB / 457.5 MB, free: 45.43 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.4642, allocations: 221 kB / 457.7 MB, free: 45.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.342, allocations: 0 / 457.7 MB, free: 45.19 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat does not exist to compare? outputFormat=mat