Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.001227/0.001227, allocations: 95.34 kB / 15.68 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.001276/0.001276, allocations: 177.9 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.823/1.823, 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.4854/0.4854, allocations: 43.54 MB / 314.5 MB, free: 9.047 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.0005694/0.0005688, allocations: 16 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1628, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003081/0.1659, allocations: 1.391 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1676, allocations: 0.7344 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1678, allocations: 8 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.1682, allocations: 23.84 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1685, allocations: 51.86 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1689, allocations: 75.77 kB / 445.1 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.1691, allocations: 59.88 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.1693, allocations: 28.17 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1694, allocations: 31.86 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1696, allocations: 31.84 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1696, allocations: 4 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.1697, allocations: 27.92 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1698, allocations: 23.92 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.683e-05/0.1699, allocations: 37.64 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1701, allocations: 100.1 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1701, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1701, allocations: 0 / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.1701, allocations: 4 kB / 445.5 MB, free: 10.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007551/0.1709, allocations: 426.6 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.914e-05/0.171, allocations: 12.03 kB / 445.9 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.928e-05/0.171, allocations: 38.55 kB / 445.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.1711, allocations: 11.81 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.1714, allocations: 210.8 kB / 446.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1715, allocations: 4 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.1715, allocations: 4 kB / 446.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.1717, allocations: 57.67 kB / 446.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1717, allocations: 3.938 kB / 446.2 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1717, allocations: 3.953 kB / 446.2 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.1717, allocations: 3.938 kB / 446.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.1718, allocations: 19.98 kB / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.1723, allocations: 288.9 kB / 446.5 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.1725, allocations: 58.62 kB / 446.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.1726, allocations: 0 / 446.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.1728, allocations: 75.47 kB / 446.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1728, allocations: 0 / 446.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006446/0.1735, allocations: 185 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.1736, allocations: 55.41 kB / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.1739, allocations: 258.5 kB / 447.2 MB, free: 8.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.1739, allocations: 29.7 kB / 447.2 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.174, allocations: 112 kB / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.174, allocations: 27.64 kB / 447.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.1741, allocations: 8 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1743, allocations: 322.8 kB / 447.6 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.1743, allocations: 19.98 kB / 447.7 MB, free: 8.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.1744, allocations: 37.7 kB / 447.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.851e-05/0.1745, allocations: 27.94 kB / 447.7 MB, free: 8.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1745, allocations: 3.938 kB / 447.7 MB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.1747, allocations: 109.6 kB / 447.8 MB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1747, allocations: 8 kB / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1747, allocations: 0 / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1747, allocations: 0 / 447.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1749, allocations: 19.94 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1749, allocations: 0 / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.1749, allocations: 8.016 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1749, allocations: 4 kB / 447.9 MB, free: 7.914 MB / 382.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.0001464/0.1751, allocations: 137.8 kB / 448 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.1751, allocations: 19.77 kB / 448 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.1752, allocations: 17.41 kB / 448 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1752, allocations: 3.984 kB / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1752, allocations: 0 / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1752, allocations: 0 / 448 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1757, allocations: 407.2 kB / 448.4 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1757, allocations: 0 / 448.4 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.1757, allocations: 11.98 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1758, allocations: 192 / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1758, allocations: 4 kB / 448.5 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.1758, allocations: 7.875 kB / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1758, allocations: 0 / 448.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.176, allocations: 225.9 kB / 448.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1761, allocations: 93 kB / 448.8 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1761, allocations: 4 kB / 448.8 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.1762, allocations: 4 kB / 448.8 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1763, allocations: 3.984 kB / 448.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.1763, allocations: 8.375 kB / 448.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.1765, allocations: 204 kB / 449 MB, free: 6.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1765, allocations: 0 / 449 MB, free: 6.676 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1767, allocations: 27.98 kB / 449 MB, free: 6.648 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: 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.001579/0.1783, allocations: 1.176 MB / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.1785, allocations: 59.91 kB / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1785, allocations: 0 / 450.3 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.1786, allocations: 40.17 kB / 450.3 MB, free: 5.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.1789, allocations: 19.98 kB / 450.3 MB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1804, allocations: 1.013 MB / 451.3 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.1808, allocations: 0.7238 MB / 452.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.159e-05/0.1808, allocations: 12.88 kB / 452.1 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.1809, allocations: 39.42 kB / 452.1 MB, free: 3.492 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1809, allocations: 3.938 kB / 452.1 MB, free: 3.488 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.1958, allocations: 3.23 MB / 455.3 MB, free: 260 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.196, allocations: 216.4 kB / 455.6 MB, free: 12 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.001, allocations: 0 / 455.6 MB, free: 12 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat