Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001092/0.001092, 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.001291/0.001291, allocations: 174.5 kB / 24.91 MB, free: 8.773 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.9706/0.9706, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2677/0.2677, allocations: 32.8 MB / 294.6 MB, free: 1.188 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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 323.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.034e-05, allocations: 9.156 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002214/0.002235, allocations: 1.635 MB / 324.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009086/0.003143, allocations: 0.5608 MB / 325.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.003201, allocations: 4 kB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002112/0.003412, allocations: 23.8 kB / 325.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000251/0.003663, allocations: 79.55 kB / 325.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.003896, allocations: 111.6 kB / 325.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.004041, allocations: 75.75 kB / 325.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.542e-05/0.004117, allocations: 8 kB / 325.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.00418, allocations: 39.91 kB / 325.8 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.004252, allocations: 27.89 kB / 325.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.004267, allocations: 4 kB / 325.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.00441, allocations: 99.75 kB / 325.9 MB, free: 7.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.004452, allocations: 11.94 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.004478, allocations: 23.91 kB / 325.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.004677, allocations: 131.6 kB / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004679, allocations: 0 / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00468, allocations: 0 / 326.1 MB, free: 6.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004685, allocations: 0 / 326.1 MB, free: 6.855 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.000365/0.00505, allocations: 317.4 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.005086, allocations: 16.03 kB / 326.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.005117, allocations: 4.938 kB / 326.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.005259, allocations: 125.7 kB / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.005272, allocations: 384 / 326.5 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.005301, allocations: 4.375 kB / 326.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.00542, allocations: 98.3 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.00543, allocations: 4.141 kB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.005439, allocations: 4.125 kB / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.005444, allocations: 0 / 326.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.005464, allocations: 7.984 kB / 326.6 MB, free: 6.219 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/0.00571, allocations: 179.7 kB / 326.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.431e-05/0.005764, allocations: 37.33 kB / 326.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.005784, allocations: 12.94 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.005799, allocations: 0 / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.005823, allocations: 42.56 kB / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.005824, allocations: 0 / 326.9 MB, free: 5.914 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003015/0.006126, allocations: 101.5 kB / 327 MB, free: 5.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.006162, allocations: 77.11 kB / 327.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.006258, allocations: 150.6 kB / 327.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.006273, allocations: 33.7 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.006306, allocations: 88.12 kB / 327.3 MB, free: 5.426 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.006326, allocations: 23.77 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.006355, allocations: 21.72 kB / 327.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.006431, allocations: 322.8 kB / 327.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.006445, allocations: 6.828 kB / 327.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.00648, allocations: 55.45 kB / 327.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.00652, allocations: 34.44 kB / 327.8 MB, free: 4.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.006521, allocations: 4 kB / 327.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.569e-05/0.006587, allocations: 64.42 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.006597, allocations: 4 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.006602, allocations: 4.031 kB / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.006614, allocations: 0 / 327.9 MB, free: 4.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.006674, allocations: 12 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.965e-06/0.006677, allocations: 0 / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.241e-05/0.0067, allocations: 7.984 kB / 327.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.006705, allocations: 0 / 327.9 MB, free: 4.836 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.91e-05/0.006764, allocations: 120.6 kB / 328 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.006781, allocations: 7.938 kB / 328 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.006883, allocations: 66.44 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006886, allocations: 8 kB / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.006887, allocations: 0 / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.006891, allocations: 0 / 328.1 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.007108, allocations: 278.5 kB / 328.4 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.007109, allocations: 4 kB / 328.4 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.007141, allocations: 8 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007143, allocations: 0 / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.007149, allocations: 7.984 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.007151, allocations: 0 / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.007154, allocations: 3.938 kB / 328.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.987e-05/0.007233, allocations: 155.8 kB / 328.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.007247, allocations: 19.94 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.007257, allocations: 0 / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.198e-05/0.007289, allocations: 4 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.007314, allocations: 7.984 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.007317, allocations: 3.938 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.383e-05/0.007351, allocations: 36.61 kB / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007351, allocations: 0 / 328.6 MB, free: 4.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001689/0.00752, allocations: 39.86 kB / 328.7 MB, free: 4.02 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 (7): * Single equations (assignments): 7 * 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.001361/0.008881, allocations: 0.6331 MB / 329.3 MB, free: 3.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.008979, allocations: 40.75 kB / 329.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.008983, allocations: 0 / 329.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.009004, allocations: 20.86 kB / 329.3 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.009157, allocations: 27.11 kB / 329.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.009454, allocations: 186.8 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.009656, allocations: 63.34 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.217e-05/0.009698, allocations: 16.72 kB / 329.6 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.009774, allocations: 67.36 kB / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of SimCode: time 7.81e-07/0.009775, allocations: 0 / 329.7 MB, free: 3.238 MB / 298.7 MB Notification: Performance of Templates: time 0.004089/0.01386, allocations: 2.21 MB / 331.9 MB, free: 1.043 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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: 3.1344119450077415]