Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.001431/0.001431, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001505/0.001505, allocations: 163.6 kB / 24.99 MB, free: 8.258 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2524/0.2524, allocations: 32.81 MB / 294.6 MB, free: 1.297 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.908e-05, allocations: 6.312 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003292/0.003321, allocations: 1.72 MB / 377.7 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.004328, allocations: 0.5413 MB / 378.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.00439, allocations: 4 kB / 378.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002557/0.004646, allocations: 51.73 kB / 378.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003421/0.004988, allocations: 99.47 kB / 378.4 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.005336, allocations: 131.6 kB / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.00552, allocations: 83.77 kB / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.005628, allocations: 16.17 kB / 378.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.974e-05/0.005717, allocations: 47.88 kB / 378.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.005827, allocations: 35.89 kB / 378.7 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.005848, allocations: 4 kB / 378.7 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.005964, allocations: 55.91 kB / 378.8 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.006039, allocations: 19.92 kB / 378.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.006074, allocations: 19.92 kB / 378.8 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.006282, allocations: 91.66 kB / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.006285, allocations: 0 / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.006287, allocations: 0 / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.006292, allocations: 0 / 378.9 MB, free: 2.035 MB / 346.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.0005027/0.006795, allocations: 440 kB / 379.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.006838, allocations: 12.03 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/0.006897, allocations: 12.84 kB / 379.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.007076, allocations: 148.9 kB / 379.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.00709, allocations: 8.375 kB / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.007113, allocations: 384 / 379.5 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.007271, allocations: 70.69 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.007283, allocations: 0 / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.007293, allocations: 0 / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.007302, allocations: 0 / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.63e-05/0.007358, allocations: 23.92 kB / 379.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.007772, allocations: 295.7 kB / 379.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.007989, allocations: 47.14 kB / 380 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.008025, allocations: 19.61 kB / 380 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.008048, allocations: 12.11 kB / 380 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.008076, allocations: 37.39 kB / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.008077, allocations: 0 / 380 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008321/0.008909, allocations: 237.6 kB / 380.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.008949, allocations: 55.41 kB / 380.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.009111, allocations: 212.9 kB / 380.5 MB, free: 280 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.009127, allocations: 29.7 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.009197, allocations: 154.8 kB / 380.7 MB, free: 84 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.009235, allocations: 39.62 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.009281, allocations: 31.36 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.009417, allocations: 0.4962 MB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.009449, allocations: 15.94 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.009479, allocations: 15.98 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.009546, allocations: 43.69 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.009547, allocations: 0 / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001167/0.009664, allocations: 101.5 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.009678, allocations: 6.344 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.009683, allocations: 0 / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.009697, allocations: 0 / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.223e-05/0.009769, allocations: 27.92 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.009774, allocations: 0 / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.009799, allocations: 11.92 kB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.009806, allocations: 8 kB / 381.5 MB, free: 15.26 MB / 362.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 (11): * Single equations (assignments): 11 * 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.286e-05/0.009879, allocations: 156.6 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.009918, allocations: 15.95 kB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.01012, allocations: 110.7 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01012, allocations: 4 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01013, allocations: 0 / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.01013, allocations: 3.938 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.01055, allocations: 416.5 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01056, allocations: 4.062 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-05/0.01065, allocations: 23.98 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.01065, allocations: 0 / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01066, allocations: 7.938 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01066, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01067, allocations: 192 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.01087, allocations: 259.2 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.244e-05/0.01088, allocations: 11.91 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.0109, allocations: 11.94 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.01098, allocations: 7.984 kB / 382.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.01102, allocations: 15.98 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.01102, allocations: 4 kB / 382.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.316e-05/0.0111, allocations: 157.5 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.0111, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003016/0.0114, allocations: 31.92 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001288/0.01269, allocations: 431.4 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.01285, allocations: 63.59 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.01286, allocations: 0 / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.996e-05/0.01292, allocations: 43.61 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.01326, allocations: 19.98 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.01376, allocations: 252 kB / 383.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.541e-05/0.01382, allocations: 67.34 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.01388, allocations: 20.59 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/0.01392, allocations: 16.5 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.01392, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of Templates: time 0.004732/0.01866, allocations: 1.592 MB / 385.2 MB, free: 11.58 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.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.3160972089972347]