Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001371/0.001371, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.001468/0.001468, allocations: 166.5 kB / 23.95 MB, free: 4.16 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.503/1.503, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.2189/0.2189, allocations: 34.27 MB / 294.9 MB, free: 14.57 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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,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.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 442.7 MB, free: 5.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.699e-05, allocations: 5.516 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003131/0.003168, allocations: 1.599 MB / 444.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.005299, allocations: 1.247 MB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.005362, allocations: 3.938 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.005608, allocations: 31.78 kB / 445.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003338/0.005942, allocations: 87.55 kB / 445.7 MB, free: 2.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.006265, allocations: 106.3 kB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.006425, allocations: 71.77 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.006518, allocations: 11.98 kB / 445.8 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.006598, allocations: 35.84 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.00671, allocations: 23.97 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.006732, allocations: 4 kB / 445.9 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.006908, allocations: 99.69 kB / 446 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.006962, allocations: 19.92 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.006996, allocations: 12 kB / 446 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.007303, allocations: 151.5 kB / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.007306, allocations: 0 / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007307, allocations: 0 / 446.2 MB, free: 1.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.007311, allocations: 0 / 446.2 MB, free: 1.871 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.0005331/0.007844, allocations: 317.7 kB / 446.5 MB, free: 1.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.007879, allocations: 8.031 kB / 446.5 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.007925, allocations: 8.891 kB / 446.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.008142, allocations: 141.6 kB / 446.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.008153, allocations: 4.375 kB / 446.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.008173, allocations: 4.375 kB / 446.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.008363, allocations: 93.59 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.008376, allocations: 4.141 kB / 446.8 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.008388, allocations: 4.125 kB / 446.8 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.008393, allocations: 3.938 kB / 446.8 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.008492, allocations: 23.98 kB / 446.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/0.008876, allocations: 220.6 kB / 447 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.009102, allocations: 46.5 kB / 447 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.009166, allocations: 24.94 kB / 447.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.009189, allocations: 3.938 kB / 447.1 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.009215, allocations: 30.56 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.009216, allocations: 0 / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000704/0.00992, allocations: 153.7 kB / 447.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.009987, allocations: 77.11 kB / 447.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.01022, allocations: 148.6 kB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.01024, allocations: 29.7 kB / 447.5 MB, free: 400 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.0103, allocations: 92.14 kB / 447.6 MB, free: 304 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.01034, allocations: 23.8 kB / 447.6 MB, free: 280 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.01038, allocations: 17.7 kB / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.197/0.2074, allocations: 314.8 kB / 447.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2075, allocations: 20.17 kB / 448 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.2076, allocations: 62.75 kB / 448 MB, free: 19.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.2078, allocations: 56.52 kB / 448.1 MB, free: 19.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2078, 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.0002553/0.2081, allocations: 86.2 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.2081, allocations: 9.031 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2081, allocations: 4.875 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.2081, allocations: 1.266 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.2082, allocations: 13 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2082, allocations: 3.75 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.2083, allocations: 13.33 kB / 448.2 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.2083, allocations: 1.156 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 7.341e-05/0.2083, allocations: 116.2 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.2084, allocations: 5.156 kB / 448.3 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.2087, allocations: 95.45 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2087, allocations: 3.688 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2087, allocations: 5.016 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2087, allocations: 0.9375 kB / 448.4 MB, free: 18.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.2091, allocations: 301.8 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2091, allocations: 6.391 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.545e-05/0.2092, allocations: 12.2 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2092, allocations: 0.7031 kB / 448.7 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.2092, allocations: 5.062 kB / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2092, allocations: 1.734 kB / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2092, allocations: 0 / 448.7 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.2094, allocations: 185.6 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.685e-05/0.2095, allocations: 8.109 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.2095, allocations: 5.641 kB / 448.9 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.2096, allocations: 12.62 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.2096, allocations: 4.359 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.2096, allocations: 1.312 kB / 449 MB, free: 18.47 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.951e-05/0.2097, allocations: 114.2 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2097, allocations: 0 / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.21, allocations: 44.11 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.001927/0.2119, allocations: 0.5254 MB / 449.6 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.2122, allocations: 59.25 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2122, allocations: 0 / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.14e-05/0.2123, allocations: 24.86 kB / 449.7 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.2126, allocations: 28.66 kB / 449.8 MB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.213, allocations: 179 kB / 449.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.21e-05/0.2131, allocations: 75.53 kB / 450 MB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.853e-05/0.2131, allocations: 18.47 kB / 450 MB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.2132, allocations: 21.05 kB / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2132, allocations: 0 / 450 MB, free: 18.02 MB / 366.1 MB Notification: Performance of Templates: time 0.005849/0.219, allocations: 1.822 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.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.970527455210686]