Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001293/0.001293, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 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.0009627/0.0009627, allocations: 171.3 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9957/0.9957, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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.2529/0.2529, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.7 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.414e-05, allocations: 3.516 kB / 325.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002054/0.002068, allocations: 1.703 MB / 327 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.003207, allocations: 1.305 MB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.714e-05/0.003254, allocations: 0 / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.003449, allocations: 23.73 kB / 328.3 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.003659, allocations: 83.55 kB / 328.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.003867, allocations: 107.7 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.003981, allocations: 88.31 kB / 328.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.497e-05/0.004056, allocations: 19.92 kB / 328.6 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.004111, allocations: 43.89 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.012e-05/0.004191, allocations: 27.91 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.004206, allocations: 11.98 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.004346, allocations: 91.89 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.00438, allocations: 15.92 kB / 328.8 MB, free: 4.105 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.37e-05/0.004403, allocations: 19.92 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.004569, allocations: 151.4 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004571, allocations: 0 / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.004571, allocations: 0 / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004574, allocations: 0 / 329 MB, free: 3.938 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002723/0.004847, allocations: 309.7 kB / 329.3 MB, free: 3.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.489e-05/0.004872, allocations: 15.97 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.004899, allocations: 8.922 kB / 329.3 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.005018, allocations: 133.6 kB / 329.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.663e-06/0.005025, allocations: 4.375 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.005042, allocations: 8.375 kB / 329.5 MB, free: 3.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.878e-05/0.005141, allocations: 110.3 kB / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.005149, allocations: 192 / 329.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.005156, allocations: 4.125 kB / 329.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.005161, allocations: 4 kB / 329.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.005181, allocations: 4 kB / 329.6 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.005393, allocations: 195 kB / 329.8 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.00544, allocations: 34.56 kB / 329.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.005455, allocations: 8.984 kB / 329.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.005469, allocations: 4 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.00549, allocations: 38.5 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.005491, allocations: 0 / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002519/0.005743, allocations: 110 kB / 330 MB, free: 2.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.005773, allocations: 77.11 kB / 330 MB, free: 2.762 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.005863, allocations: 144.7 kB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.005873, allocations: 25.7 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.128e-05/0.005904, allocations: 100.1 kB / 330.3 MB, free: 2.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.005926, allocations: 27.73 kB / 330.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.005953, allocations: 21.66 kB / 330.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.242e-05/0.006026, allocations: 326.8 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.006038, allocations: 4 kB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.006068, allocations: 47.41 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.006105, allocations: 35.66 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.006106, allocations: 0 / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.94e-05/0.006165, allocations: 61.62 kB / 330.8 MB, free: 1.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.006175, allocations: 7.984 kB / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.006179, allocations: 0 / 330.8 MB, free: 1.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.006194, allocations: 4.031 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.00625, allocations: 15.94 kB / 330.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.006254, allocations: 4 kB / 330.8 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.006273, allocations: 7.922 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.006278, allocations: 4 kB / 330.8 MB, free: 1.879 MB / 298.7 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 (8): * Single equations (assignments): 8 * 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 5.084e-05/0.006329, allocations: 112.7 kB / 331 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.006348, allocations: 7.938 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.131e-05/0.006439, allocations: 82.67 kB / 331 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.00644, allocations: 3.938 kB / 331.1 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.006441, allocations: 4 kB / 331.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.006443, allocations: 0 / 331.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.006629, allocations: 234.7 kB / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006631, allocations: 0 / 331.3 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.006667, allocations: 23.92 kB / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.006669, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-06/0.006673, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.006673, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.006674, allocations: 0 / 331.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.009e-05/0.006754, allocations: 159.5 kB / 331.5 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.401e-05/0.006768, allocations: 15.94 kB / 331.5 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.006777, allocations: 4 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.00681, allocations: 4 kB / 331.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.006829, allocations: 3.984 kB / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.006834, allocations: 4 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.993e-05/0.006864, allocations: 38 kB / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006864, allocations: 0 / 331.5 MB, free: 1.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001604/0.007024, allocations: 43.86 kB / 331.6 MB, free: 1.09 MB / 298.7 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 (8): * Single equations (assignments): 8 * 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.001169/0.008193, allocations: 0.6297 MB / 332.2 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.008264, allocations: 28.84 kB / 332.2 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.008267, allocations: 4 kB / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.083e-05/0.008288, allocations: 20.8 kB / 332.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.008427, allocations: 30.73 kB / 332.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.008671, allocations: 186.8 kB / 332.5 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.844e-05/0.008709, allocations: 67.34 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.875e-05/0.008748, allocations: 17.02 kB / 332.6 MB, free: 376 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.008812, allocations: 71.36 kB / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008812, allocations: 0 / 332.6 MB, free: 304 kB / 298.7 MB Notification: Performance of Templates: time 0.003202/0.01201, allocations: 2.13 MB / 334.8 MB, free: 14.19 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.906228981912136]