Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008/0.008, allocations: 104.9 kB / 15.87 MB, free: 6.242 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.001508/0.001508, allocations: 196.2 kB / 16.79 MB, free: 6.172 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.864/1.864, allocations: 205.1 MB / 222.6 MB, free: 4.918 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.4758/0.4758, allocations: 43.49 MB / 313.5 MB, free: 8.441 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.001786/0.001786, allocations: 63.91 kB / 382 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1973, allocations: 57.78 MB / 439.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003759/0.2011, allocations: 1.729 MB / 441.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2025, allocations: 0.7729 MB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.2026, allocations: 0 / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.203, allocations: 51.8 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.2032, allocations: 59.81 kB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2034, allocations: 75.84 kB / 442.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.2036, allocations: 95.69 kB / 442.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.2037, allocations: 7.984 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.2038, allocations: 51.77 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.444e-05/0.2039, allocations: 35.84 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2039, allocations: 3.984 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.204, allocations: 31.98 kB / 442.7 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.98e-05/0.2041, allocations: 19.88 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.054e-05/0.2041, allocations: 27.8 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.2043, allocations: 95.92 kB / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.2043, allocations: 0 / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.2043, allocations: 0 / 442.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2043, allocations: 0 / 442.9 MB, free: 11.83 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.0006068/0.205, allocations: 415 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.205, allocations: 8.031 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.2051, allocations: 8.844 kB / 443.3 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.2053, allocations: 212 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2053, allocations: 8.312 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.2054, allocations: 12.11 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.2055, allocations: 41.69 kB / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2055, allocations: 0 / 443.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2055, allocations: 3.938 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2056, allocations: 4 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.2056, allocations: 15.98 kB / 443.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.2058, allocations: 181.7 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.206, allocations: 54.55 kB / 443.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.2061, allocations: 20.8 kB / 443.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2061, allocations: 4 kB / 443.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.2063, allocations: 67.38 kB / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.2064, allocations: 0 / 443.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002919/0.2067, allocations: 101.5 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2067, allocations: 51.41 kB / 444.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.2069, allocations: 178.2 kB / 444.2 MB, free: 10.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.207, allocations: 29.69 kB / 444.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.207, allocations: 104.1 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.2071, allocations: 15.8 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.2071, allocations: 17.72 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2073, allocations: 322.8 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.2073, allocations: 12 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-05/0.2074, allocations: 29.7 kB / 444.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.634e-05/0.2075, allocations: 49.95 kB / 444.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2075, allocations: 0 / 444.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000153/0.2077, allocations: 85.47 kB / 444.9 MB, free: 9.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2077, allocations: 4 kB / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2077, allocations: 0 / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.2077, allocations: 0 / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.539e-05/0.2078, allocations: 15.98 kB / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2078, allocations: 3.938 kB / 444.9 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.2079, allocations: 3.906 kB / 444.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.2079, allocations: 12.03 kB / 444.9 MB, free: 9.543 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.0001466/0.208, allocations: 125.8 kB / 445 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.2081, allocations: 7.906 kB / 445.1 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.2081, allocations: 12.31 kB / 445.1 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2081, allocations: 4 kB / 445.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.2081, allocations: 0 / 445.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2081, allocations: 0 / 445.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.2083, allocations: 189.5 kB / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2083, allocations: 7.938 kB / 445.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.2083, allocations: 7.938 kB / 445.3 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2083, allocations: 4 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2083, allocations: 0 / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2083, allocations: 0 / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2084, allocations: 0 / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.2085, allocations: 108.9 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.2086, allocations: 85.02 kB / 445.5 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2086, allocations: 4.125 kB / 445.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.621e-05/0.2087, allocations: 11.98 kB / 445.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.2087, allocations: 4 kB / 445.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.2087, allocations: 4 kB / 445.5 MB, free: 8.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.2089, allocations: 144 kB / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2089, allocations: 0 / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.2091, allocations: 19.91 kB / 445.6 MB, free: 8.727 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.0009508/0.21, allocations: 410.2 kB / 446 MB, free: 8.359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.2102, allocations: 47.92 kB / 446.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2102, allocations: 0 / 446.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.2103, allocations: 23.92 kB / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.2106, allocations: 24.17 kB / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.211, allocations: 211.9 kB / 446.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.2114, allocations: 0.7043 MB / 447 MB, free: 7.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.2114, allocations: 20.39 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.2115, allocations: 11.44 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2115, allocations: 4 kB / 447.1 MB, free: 7.266 MB / 382.1 MB Notification: Performance of Templates: time 0.004166/0.2156, allocations: 1.419 MB / 448.5 MB, free: 5.848 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches