Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005885/0.005885, allocations: 101.1 kB / 15.87 MB, free: 6.309 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.001452/0.001452, allocations: 195.3 kB / 16.79 MB, free: 6.238 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.71/1.71, allocations: 205.1 MB / 222.6 MB, free: 4.957 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.5274/0.5274, allocations: 43.49 MB / 313.5 MB, free: 8.641 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.001676/0.001676, allocations: 70.56 kB / 382 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1757, allocations: 57.79 MB / 439.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.004156/0.1799, allocations: 1.721 MB / 441.5 MB, free: 13.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1814, allocations: 0.769 MB / 442.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.1816, allocations: 0 / 442.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1819, allocations: 43.86 kB / 442.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.1823, allocations: 59.81 kB / 442.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1826, allocations: 75.86 kB / 442.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.1828, allocations: 87.69 kB / 442.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.435e-05/0.1829, allocations: 15.97 kB / 442.6 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.183, allocations: 39.8 kB / 442.6 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1831, allocations: 39.77 kB / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1832, allocations: 0 / 442.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1833, allocations: 31.98 kB / 442.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.1834, allocations: 11.94 kB / 442.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.1834, allocations: 31.8 kB / 442.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.1836, allocations: 95.92 kB / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1837, allocations: 0 / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1837, allocations: 7.938 kB / 442.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1837, allocations: 0 / 442.8 MB, free: 12.09 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006257/0.1843, allocations: 399 kB / 443.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1844, allocations: 8.031 kB / 443.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.1844, allocations: 12.83 kB / 443.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.1847, allocations: 212 kB / 443.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1847, allocations: 384 / 443.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1847, allocations: 8.125 kB / 443.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1849, allocations: 45.67 kB / 443.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1849, allocations: 0 / 443.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1849, allocations: 4 kB / 443.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.1849, allocations: 0 / 443.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.884e-05/0.185, allocations: 15.92 kB / 443.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.1852, allocations: 177.7 kB / 443.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1854, allocations: 54.62 kB / 443.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.1855, allocations: 24.78 kB / 443.8 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.1855, allocations: 7.938 kB / 443.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.1857, allocations: 67.23 kB / 443.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1857, allocations: 4 kB / 443.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002842/0.186, allocations: 89.58 kB / 444 MB, free: 10.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.1861, allocations: 59.39 kB / 444 MB, free: 10.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1863, allocations: 170.2 kB / 444.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1863, allocations: 29.7 kB / 444.2 MB, free: 10.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.1863, allocations: 92.14 kB / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.1864, allocations: 15.89 kB / 444.3 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.1864, allocations: 17.72 kB / 444.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1865, allocations: 326.8 kB / 444.6 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.1866, allocations: 12 kB / 444.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.1867, allocations: 29.64 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1868, allocations: 45.7 kB / 444.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1868, allocations: 0 / 444.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001521/0.1869, allocations: 89.69 kB / 444.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.187, allocations: 8.031 kB / 444.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.187, allocations: 4 kB / 444.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.187, allocations: 0 / 444.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.1871, allocations: 15.98 kB / 444.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1871, allocations: 0 / 444.8 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.1871, allocations: 4 kB / 444.9 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1872, allocations: 0 / 444.9 MB, free: 9.848 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.651e-05/0.1873, allocations: 125.8 kB / 445 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.1873, allocations: 7.906 kB / 445 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.1873, allocations: 16.31 kB / 445 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1873, allocations: 7.938 kB / 445 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1873, allocations: 0 / 445 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1873, allocations: 0 / 445 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1875, allocations: 185.6 kB / 445.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1875, allocations: 3.938 kB / 445.2 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.1875, allocations: 4 kB / 445.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1875, allocations: 0 / 445.2 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1875, allocations: 4 kB / 445.2 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1876, allocations: 0 / 445.2 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1876, allocations: 4 kB / 445.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/0.1877, allocations: 108.9 kB / 445.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.1878, allocations: 96.84 kB / 445.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1878, allocations: 4 kB / 445.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.509e-05/0.1879, allocations: 3.984 kB / 445.4 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1879, allocations: 4 kB / 445.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.1879, allocations: 0 / 445.4 MB, free: 9.191 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.834e-05/0.188, allocations: 136.1 kB / 445.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.188, allocations: 0 / 445.5 MB, free: 9.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.1882, allocations: 19.98 kB / 445.6 MB, free: 9.039 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009308/0.1892, allocations: 418.3 kB / 446 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.1893, allocations: 35.98 kB / 446 MB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1894, allocations: 0 / 446 MB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.1894, allocations: 23.92 kB / 446 MB, free: 8.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1897, allocations: 31.98 kB / 446.1 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.1901, allocations: 199.7 kB / 446.3 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1904, allocations: 0.7043 MB / 447 MB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.1904, allocations: 8.547 kB / 447 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.1905, allocations: 19.42 kB / 447 MB, free: 7.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1905, allocations: 0 / 447 MB, free: 7.59 MB / 382.1 MB Notification: Performance of Templates: time 0.004116/0.1946, allocations: 1.42 MB / 448.4 MB, free: 6.176 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches