Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006534/0.006534, allocations: 100.6 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.001236/0.001236, allocations: 195.1 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.963/1.963, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.539/0.539, allocations: 43.5 MB / 313.5 MB, free: 8.527 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.002003/0.002004, allocations: 74.56 kB / 382 MB, free: 8.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1907, allocations: 57.79 MB / 439.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.004743/0.1956, allocations: 1.71 MB / 441.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1974, allocations: 0.7729 MB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1976, allocations: 0 / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004948/0.1981, allocations: 59.86 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003284/0.1985, allocations: 59.81 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1989, allocations: 79.78 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.1992, allocations: 83.77 kB / 442.6 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.1993, allocations: 7.984 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1995, allocations: 47.77 kB / 442.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1996, allocations: 43.78 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.1996, allocations: 4 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1998, allocations: 31.97 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.358e-05/0.1999, allocations: 15.92 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.2, allocations: 27.8 kB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.2002, allocations: 103.9 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.2003, allocations: 0 / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2003, allocations: 3.938 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.2003, allocations: 0 / 442.9 MB, free: 11.77 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.0007861/0.2011, allocations: 414.8 kB / 443.3 MB, free: 11.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.2011, allocations: 12.03 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.117e-05/0.2012, allocations: 8.844 kB / 443.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.2016, allocations: 212 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2016, allocations: 384 / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.2016, allocations: 4.125 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.2019, allocations: 49.67 kB / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2019, allocations: 0 / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2019, allocations: 0 / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2019, allocations: 0 / 443.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.829e-05/0.202, allocations: 23.92 kB / 443.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.2023, allocations: 181.7 kB / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.2025, allocations: 50.62 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.2026, allocations: 24.78 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.2026, allocations: 4 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002798/0.2029, allocations: 71.31 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.512e-06/0.2029, allocations: 0 / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003746/0.2033, allocations: 89.58 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/0.2034, allocations: 55.41 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.2036, allocations: 182.2 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.2036, allocations: 25.7 kB / 444.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.2037, allocations: 100.1 kB / 444.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.263e-05/0.2038, allocations: 15.81 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.2038, allocations: 21.72 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.204, allocations: 322.8 kB / 444.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.204, allocations: 15.98 kB / 444.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.2041, allocations: 33.64 kB / 444.7 MB, free: 9.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.2042, allocations: 41.7 kB / 444.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2042, allocations: 4 kB / 444.8 MB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001648/0.2044, allocations: 85.47 kB / 444.9 MB, free: 9.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.2044, allocations: 8 kB / 444.9 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2044, allocations: 3.984 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.2044, allocations: 0 / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.2045, allocations: 11.94 kB / 444.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2045, allocations: 4 kB / 444.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.2046, allocations: 3.906 kB / 444.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.2046, allocations: 4 kB / 444.9 MB, free: 9.484 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 0.0001055/0.2047, allocations: 129.8 kB / 445 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.2047, allocations: 7.906 kB / 445 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.2048, allocations: 12.31 kB / 445.1 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2048, allocations: 7.922 kB / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2048, allocations: 320 / 445.1 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.2048, allocations: 4 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.205, allocations: 189.5 kB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.205, allocations: 3.938 kB / 445.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.217e-05/0.205, allocations: 4 kB / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.205, allocations: 0 / 445.3 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.205, allocations: 8 kB / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2051, allocations: 0 / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2051, allocations: 0 / 445.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.2053, allocations: 112.9 kB / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.2053, allocations: 85 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.2054, allocations: 4 kB / 445.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.46e-05/0.2054, allocations: 0 / 445.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.2054, allocations: 8 kB / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2055, allocations: 4 kB / 445.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.2056, allocations: 148 kB / 445.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2056, allocations: 0 / 445.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.2058, allocations: 15.91 kB / 445.6 MB, free: 8.664 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.001067/0.2069, allocations: 426.9 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.2071, allocations: 39.97 kB / 446.1 MB, free: 8.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2071, allocations: 4.062 kB / 446.1 MB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.2072, allocations: 19.94 kB / 446.1 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2075, allocations: 31.91 kB / 446.1 MB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005382/0.2081, allocations: 207.8 kB / 446.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2084, allocations: 0.7004 MB / 447.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.432e-05/0.2085, allocations: 12.42 kB / 447.1 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.2086, allocations: 15.42 kB / 447.1 MB, free: 7.199 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2086, allocations: 0 / 447.1 MB, free: 7.199 MB / 382.1 MB Notification: Performance of Templates: time 0.004538/0.2131, allocations: 1.419 MB / 448.5 MB, free: 5.785 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches