Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 83.44 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 165.6 kB / 23.96 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 177.2 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 34.27 MB / 294.9 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.723e-06/6.723e-06, allocations: 4 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.686e-05/4.358e-05, allocations: 6.281 kB / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003561/0.003605, allocations: 1.591 MB / 444.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.004861, allocations: 0.522 MB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.004928, allocations: 4 kB / 444.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.005142, allocations: 19.86 kB / 444.8 MB, free: 3.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.005498, allocations: 87.55 kB / 444.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.005798, allocations: 79.7 kB / 445 MB, free: 3.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.00597, allocations: 71.77 kB / 445.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.00607, allocations: 11.92 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.006151, allocations: 31.92 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.894e-05/0.00621, allocations: 15.97 kB / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.006228, allocations: 0 / 445.1 MB, free: 2.957 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.006324, allocations: 39.92 kB / 445.2 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.006376, allocations: 11.94 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.006413, allocations: 15.92 kB / 445.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.006609, allocations: 75.72 kB / 445.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.006612, allocations: 4 kB / 445.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.006613, allocations: 0 / 445.3 MB, free: 2.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.006617, allocations: 3.938 kB / 445.3 MB, free: 2.809 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005409/0.007158, allocations: 317.8 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.007202, allocations: 15.97 kB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.007246, allocations: 8.891 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.007456, allocations: 140.2 kB / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.007464, allocations: 4.375 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.007491, allocations: 4.375 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.00764, allocations: 42.25 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.007652, allocations: 4.188 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.007667, allocations: 8.125 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.007672, allocations: 0 / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.007775, allocations: 27.91 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.008141, allocations: 212.6 kB / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.008372, allocations: 42.56 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.856e-05/0.008431, allocations: 16.86 kB / 446.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.008457, allocations: 3.938 kB / 446.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.008487, allocations: 38.58 kB / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.008488, allocations: 0 / 446.1 MB, free: 1.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006413/0.00913, allocations: 137.4 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.009179, allocations: 63.34 kB / 446.3 MB, free: 1.617 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.009366, allocations: 161.8 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.009387, allocations: 25.7 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.009462, allocations: 96.12 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.009493, allocations: 19.84 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.664e-05/0.009539, allocations: 17.72 kB / 446.7 MB, free: 1.277 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.009707, allocations: 322.8 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.009781, allocations: 15.98 kB / 447 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.00985, allocations: 20.17 kB / 447 MB, free: 0.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.01, allocations: 56.83 kB / 447.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.01001, allocations: 0 / 447.1 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002161/0.01022, allocations: 85.52 kB / 447.1 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.01024, allocations: 4 kB / 447.1 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01025, allocations: 3.938 kB / 447.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.01027, allocations: 0 / 447.1 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.01034, allocations: 16.27 kB / 447.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.01035, allocations: 0 / 447.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.01039, allocations: 0 / 447.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.0104, allocations: 11.98 kB / 447.2 MB, free: 0.7344 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001104/0.01051, allocations: 122.4 kB / 447.3 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.876e-05/0.01055, allocations: 7.953 kB / 447.3 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.01081, allocations: 90.11 kB / 447.4 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.01082, allocations: 4 kB / 447.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.01082, allocations: 3.938 kB / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01083, allocations: 0 / 447.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.01126, allocations: 302.1 kB / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01126, allocations: 0 / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.01132, allocations: 8 kB / 447.7 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.01133, allocations: 0 / 447.7 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01134, allocations: 8 kB / 447.7 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.01134, allocations: 4.172 kB / 447.7 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01134, allocations: 4 kB / 447.7 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2305/0.2419, allocations: 176.4 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.2419, allocations: 4.875 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2419, allocations: 1.781 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.242, allocations: 4.797 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.2421, allocations: 10.2 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.2421, allocations: 1.062 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.863e-05/0.2422, allocations: 129.4 kB / 448 MB, free: 19.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2422, allocations: 3.938 kB / 448 MB, free: 19.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003322/0.2425, allocations: 17.31 kB / 448.1 MB, free: 19.03 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001656/0.2442, allocations: 436.3 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.2444, allocations: 49.55 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2444, allocations: 0 / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.2445, allocations: 22.48 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.2448, allocations: 13.19 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005549/0.2454, allocations: 195.5 kB / 448.8 MB, free: 18.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.811e-05/0.2455, allocations: 83.88 kB / 448.8 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.996e-05/0.2455, allocations: 7.359 kB / 448.9 MB, free: 18.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.2455, allocations: 14.12 kB / 448.9 MB, free: 18.69 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2455, allocations: 0 / 448.9 MB, free: 18.69 MB / 366.1 MB Notification: Performance of Templates: time 0.005654/0.2512, allocations: 1.146 MB / 450 MB, free: 18.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.022212415933609]