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.0009155/0.0009155, allocations: 80.8 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.0009989/0.0009989, allocations: 174.3 kB / 24.92 MB, free: 8.766 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.9635/0.9635, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2634/0.2634, allocations: 34.26 MB / 296.1 MB, free: 0.6797 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.696e-05, allocations: 10.08 kB / 325.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002377/0.002404, allocations: 1.639 MB / 326.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.003938, allocations: 1.29 MB / 328.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.877e-05/0.003986, allocations: 4 kB / 328.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.004218, allocations: 27.78 kB / 328.2 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.004473, allocations: 88.09 kB / 328.3 MB, free: 4.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.004684, allocations: 111.6 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.004809, allocations: 72.39 kB / 328.5 MB, free: 4.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.411e-05/0.004883, allocations: 15.92 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.004939, allocations: 31.91 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.005024, allocations: 23.92 kB / 328.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.005038, allocations: 4 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.005157, allocations: 95.81 kB / 328.7 MB, free: 4.281 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.005197, allocations: 19.91 kB / 328.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.005225, allocations: 15.94 kB / 328.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.005406, allocations: 131.6 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.005409, allocations: 0 / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.00541, allocations: 0 / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.005414, allocations: 0 / 328.8 MB, free: 4.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00033/0.005744, allocations: 305.6 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.005772, allocations: 8.031 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.005801, allocations: 8.938 kB / 329.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.005923, allocations: 125.7 kB / 329.3 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.005931, allocations: 4.359 kB / 329.3 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.00595, allocations: 8.375 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.896e-05/0.006049, allocations: 94.36 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.006057, allocations: 192 / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.006065, allocations: 12.06 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006071, allocations: 4 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.00609, allocations: 7.984 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002003/0.006291, allocations: 159.1 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.006411, allocations: 33.38 kB / 329.6 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.528e-05/0.006426, allocations: 12.86 kB / 329.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.00644, allocations: 3.938 kB / 329.6 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.006461, allocations: 46.7 kB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.006462, allocations: 0 / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002392/0.006701, allocations: 81.97 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.006736, allocations: 81.11 kB / 329.8 MB, free: 3.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.006824, allocations: 140.3 kB / 329.9 MB, free: 2.859 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.006836, allocations: 25.7 kB / 330 MB, free: 2.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.006872, allocations: 96.08 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.006889, allocations: 11.89 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.006914, allocations: 17.72 kB / 330.1 MB, free: 2.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.006986, allocations: 322.8 kB / 330.4 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.006995, allocations: 8 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.007022, allocations: 39.42 kB / 330.4 MB, free: 2.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.898e-05/0.007051, allocations: 31.59 kB / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.007052, allocations: 0 / 330.5 MB, free: 2.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.579e-05/0.007108, allocations: 54.09 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.007125, allocations: 10.19 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.007129, allocations: 0 / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.00714, allocations: 0 / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.928e-05/0.007179, allocations: 15.98 kB / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-06/0.007182, allocations: 0 / 330.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.007201, allocations: 8.016 kB / 330.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.007206, allocations: 4 kB / 330.6 MB, free: 2.184 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 (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 5.26e-05/0.007258, allocations: 116.6 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.007276, allocations: 11.92 kB / 330.7 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.27e-05/0.007359, allocations: 62.08 kB / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.007361, allocations: 0 / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.007362, allocations: 0 / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.007365, allocations: 0 / 330.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.007537, allocations: 206.8 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.007539, allocations: 3.938 kB / 331 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.669e-05/0.007565, allocations: 19.92 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.007567, allocations: 0 / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.007572, allocations: 4 kB / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007573, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.007573, allocations: 0 / 331 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.695e-05/0.00764, allocations: 139.5 kB / 331.1 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.007651, allocations: 19.88 kB / 331.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-06/0.007661, allocations: 0 / 331.1 MB, free: 1.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.007694, allocations: 8.188 kB / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.791e-05/0.007711, allocations: 0 / 331.1 MB, free: 1.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.007716, allocations: 4 kB / 331.1 MB, free: 1.543 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.007744, allocations: 39.66 kB / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007744, allocations: 0 / 331.2 MB, free: 1.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001585/0.007903, allocations: 35.88 kB / 331.2 MB, free: 1.465 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 (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.001205/0.009108, allocations: 0.6303 MB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.009185, allocations: 20.84 kB / 331.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.00919, allocations: 4 kB / 331.9 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.009209, allocations: 16.84 kB / 331.9 MB, free: 1.102 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.009359, allocations: 19.94 kB / 331.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.009651, allocations: 178.4 kB / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.256e-05/0.009683, allocations: 59.34 kB / 332.1 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.892e-05/0.009722, allocations: 16.23 kB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.009784, allocations: 67.36 kB / 332.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of SimCode: time 6.92e-07/0.009785, allocations: 0 / 332.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of Templates: time 0.003472/0.01326, allocations: 1.993 MB / 334.2 MB, free: 14.74 MB / 314.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] 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","",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.9481635289266706]