Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001335/0.001335, allocations: 81.17 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.001504/0.001504, allocations: 164.9 kB / 23.95 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.475/1.475, allocations: 177.1 MB / 204.3 MB, free: 9.188 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.2179/0.2179, allocations: 34.27 MB / 295 MB, free: 14.58 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.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 3.938 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.14e-05, allocations: 2.281 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.005538/0.00557, allocations: 1.603 MB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.009735, allocations: 1.247 MB / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.009838, allocations: 0 / 445.5 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.01019, allocations: 23.78 kB / 445.6 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006315/0.01082, allocations: 87.55 kB / 445.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006327/0.01145, allocations: 122.8 kB / 445.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.01171, allocations: 71.72 kB / 445.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.01184, allocations: 7.984 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.01197, allocations: 35.91 kB / 445.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.01214, allocations: 27.91 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.01218, allocations: 4 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.0125, allocations: 91.81 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.991e-05/0.01259, allocations: 19.92 kB / 446 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.01264, allocations: 11.98 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.01314, allocations: 143.5 kB / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.01315, allocations: 0 / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01315, allocations: 0 / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.01316, allocations: 0 / 446.2 MB, free: 1.895 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.0008469/0.014, allocations: 329.7 kB / 446.5 MB, free: 1.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.01405, allocations: 8.031 kB / 446.5 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/0.01411, allocations: 12.89 kB / 446.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.01446, allocations: 137.5 kB / 446.7 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.01447, allocations: 4.375 kB / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.01451, allocations: 384 / 446.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.01482, allocations: 89.66 kB / 446.7 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.01484, allocations: 8.141 kB / 446.8 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.01486, allocations: 4.125 kB / 446.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.01487, allocations: 0 / 446.8 MB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.01504, allocations: 23.92 kB / 446.8 MB, free: 1.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.01561, allocations: 228.6 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.01593, allocations: 42.56 kB / 447 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.01603, allocations: 20.88 kB / 447.1 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.842e-05/0.01606, allocations: 3.938 kB / 447.1 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.01611, allocations: 34.56 kB / 447.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.01611, allocations: 0 / 447.1 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001065/0.01717, allocations: 157.7 kB / 447.3 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.01725, allocations: 77.11 kB / 447.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.01753, allocations: 148.6 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.01756, allocations: 29.7 kB / 447.5 MB, free: 412 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.01766, allocations: 92.12 kB / 447.6 MB, free: 316 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.0177, allocations: 19.8 kB / 447.6 MB, free: 296 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.01778, allocations: 17.72 kB / 447.6 MB, free: 272 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2305/0.2483, allocations: 320.1 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.2484, allocations: 17.44 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.2485, allocations: 65.19 kB / 448 MB, free: 19.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2487, allocations: 50.91 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2487, allocations: 2.25 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002324/0.2489, allocations: 95.62 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2489, allocations: 5.812 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2489, allocations: 0 / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.2489, allocations: 1.891 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.249, allocations: 12.72 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.249, allocations: 3.75 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.686e-05/0.2491, allocations: 5.766 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2491, allocations: 4.719 kB / 448.2 MB, free: 18.99 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 6.745e-05/0.2492, allocations: 120.5 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.2492, allocations: 9.672 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.2495, allocations: 96.84 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.2495, allocations: 0 / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2495, allocations: 6.984 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2495, allocations: 0 / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.2499, allocations: 297 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2499, allocations: 3.5 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.25, allocations: 14.81 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.25, allocations: 0 / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.25, allocations: 5.875 kB / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.25, allocations: 0 / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.25, allocations: 1.578 kB / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.2502, allocations: 188.5 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.2502, allocations: 10.08 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/0.2503, allocations: 5.672 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.2504, allocations: 8.812 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.2504, allocations: 6.594 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2504, allocations: 2.797 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.655e-05/0.2505, allocations: 115.2 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2505, allocations: 0 / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000321/0.2508, allocations: 41.44 kB / 449.1 MB, free: 18.39 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.001849/0.2527, allocations: 0.5214 MB / 449.6 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.2529, allocations: 55.94 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2529, allocations: 3.938 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.253, allocations: 28.75 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.2533, allocations: 20.3 kB / 449.7 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.2538, allocations: 180.6 kB / 449.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.339e-05/0.2538, allocations: 82.98 kB / 450 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.89e-05/0.2539, allocations: 16.03 kB / 450 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.2539, allocations: 17.89 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2539, allocations: 0 / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of Templates: time 0.005878/0.2598, allocations: 1.831 MB / 451.9 MB, free: 17.79 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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: 4.946365211158991]