Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001185/0.001185, allocations: 80.92 kB / 21.5 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.001153/0.001153, allocations: 172.9 kB / 24.91 MB, free: 8.77 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 1.001/1.001, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2496/0.2496, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.094e-05/2.241e-05, allocations: 6.312 kB / 323.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002997/0.00302, allocations: 1.699 MB / 325 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009839/0.004004, allocations: 0.5491 MB / 325.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.004062, allocations: 0 / 325.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.00437, allocations: 107.7 kB / 325.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002881/0.004658, allocations: 119.5 kB / 325.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.004947, allocations: 119.5 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.005117, allocations: 91.8 kB / 326 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.034e-05/0.005207, allocations: 11.98 kB / 326 MB, free: 6.914 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.704e-05/0.005294, allocations: 55.77 kB / 326 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.005404, allocations: 55.92 kB / 326.1 MB, free: 6.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.00542, allocations: 4 kB / 326.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.005513, allocations: 43.92 kB / 326.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.005566, allocations: 35.84 kB / 326.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.005596, allocations: 11.94 kB / 326.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.005778, allocations: 99.59 kB / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.005781, allocations: 0 / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.005781, allocations: 0 / 326.3 MB, free: 6.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.005785, allocations: 0 / 326.3 MB, free: 6.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003742/0.006159, allocations: 333.3 kB / 326.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.006195, allocations: 8.031 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.00623, allocations: 8.922 kB / 326.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.006394, allocations: 146.4 kB / 326.8 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.006405, allocations: 8.359 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.006425, allocations: 4.375 kB / 326.8 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.006532, allocations: 54.95 kB / 326.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.006543, allocations: 192 / 326.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.006552, allocations: 4.125 kB / 326.8 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.006558, allocations: 0 / 326.8 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.057e-05/0.006588, allocations: 19.91 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.006849, allocations: 171.7 kB / 327 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.006911, allocations: 37.5 kB / 327.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.218e-05/0.006933, allocations: 16.84 kB / 327.1 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.006949, allocations: 7.938 kB / 327.1 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.006975, allocations: 34.5 kB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.006976, allocations: 0 / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005075/0.007484, allocations: 141.4 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.007513, allocations: 51.41 kB / 327.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.00767, allocations: 201.6 kB / 327.5 MB, free: 5.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.007684, allocations: 29.7 kB / 327.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.007728, allocations: 96.11 kB / 327.6 MB, free: 5.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.00777, allocations: 39.72 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.007809, allocations: 13.72 kB / 327.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.007907, allocations: 326.8 kB / 328 MB, free: 4.742 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.007924, allocations: 4 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.007942, allocations: 11.98 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.901e-05/0.007991, allocations: 31.61 kB / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.007992, allocations: 0 / 328 MB, free: 4.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.014e-05/0.008082, allocations: 65.59 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.008096, allocations: 8 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.0081, allocations: 0 / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.008113, allocations: 432 / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.595e-05/0.008189, allocations: 19.98 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.008194, allocations: 0 / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.00822, allocations: 4 kB / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.008226, allocations: 0 / 328.1 MB, free: 4.59 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 7.107e-05/0.008298, allocations: 120.6 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.008327, allocations: 11.92 kB / 328.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.008471, allocations: 87.41 kB / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.008473, allocations: 0 / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.008474, allocations: 0 / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.008478, allocations: 0 / 328.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.008782, allocations: 267.4 kB / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.008785, allocations: 0 / 328.6 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.008839, allocations: 19.92 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.008841, allocations: 0 / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.008849, allocations: 4 kB / 328.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.008851, allocations: 0 / 328.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.008852, allocations: 0 / 328.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.008966, allocations: 160.3 kB / 328.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.00898, allocations: 11.91 kB / 328.8 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.008996, allocations: 11.98 kB / 328.8 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.773e-05/0.009054, allocations: 4.031 kB / 328.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.009084, allocations: 7.984 kB / 328.8 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.009089, allocations: 3.938 kB / 328.8 MB, free: 3.828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.856e-05/0.009157, allocations: 64.23 kB / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009157, allocations: 0 / 328.9 MB, free: 3.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.009394, allocations: 23.94 kB / 328.9 MB, free: 3.738 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.001659/0.01105, allocations: 0.5677 MB / 329.5 MB, free: 3.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.546e-05/0.01115, allocations: 36.77 kB / 329.5 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.01115, allocations: 4 kB / 329.5 MB, free: 3.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.379e-05/0.01119, allocations: 28.92 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.01141, allocations: 23.92 kB / 329.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.0118, allocations: 242.7 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.716e-05/0.01186, allocations: 79.25 kB / 329.9 MB, free: 3.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.004e-05/0.01191, allocations: 16.72 kB / 329.9 MB, free: 3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.727e-05/0.01198, allocations: 59.36 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01198, allocations: 0 / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of Templates: time 0.002995/0.01497, allocations: 1.532 MB / 331.5 MB, free: 1.422 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.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.871765226125717]