Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001874/0.001874, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.00205/0.00205, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.607/1.607, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 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.3761/0.3761, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.859e-05, allocations: 9.406 kB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003547/0.003586, allocations: 1.619 MB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004888, allocations: 0.5452 MB / 379.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.004947, allocations: 0 / 379.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.005699, allocations: 459 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.006245, allocations: 291.3 kB / 380.2 MB, free: 48 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.006739, allocations: 175.4 kB / 380.4 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.00703, allocations: 171.6 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.007132, allocations: 8 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.007312, allocations: 119.7 kB / 380.7 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.00764, allocations: 231.7 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.00767, allocations: 4 kB / 380.9 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.547e-05/0.007756, allocations: 23.98 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.007903, allocations: 91.64 kB / 381 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.007968, allocations: 39.73 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.008329, allocations: 227.1 kB / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.008332, allocations: 0 / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.008333, allocations: 0 / 381.3 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.008338, allocations: 4 kB / 381.3 MB, free: 14.97 MB / 362.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.0009787/0.009317, allocations: 0.7007 MB / 382 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.009365, allocations: 12.03 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.326e-05/0.009458, allocations: 40.66 kB / 382 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.009818, allocations: 252.9 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.009833, allocations: 4.375 kB / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.009843, allocations: 384 / 382.3 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.009988, allocations: 58.11 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.009997, allocations: 192 / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.01001, allocations: 4.125 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.01001, allocations: 0 / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/0.01009, allocations: 15.98 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.01079, allocations: 455.8 kB / 382.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.0109, allocations: 38.98 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.01095, allocations: 23.69 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.01097, allocations: 0 / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.01101, allocations: 33.39 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 6.51e-07/0.01101, allocations: 0 / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002904/0.0113, allocations: 93.39 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.01134, allocations: 55.41 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009774/0.01232, allocations: 0.6746 MB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.01235, allocations: 33.64 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/0.01284, allocations: 302.9 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.01286, allocations: 11.88 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.01291, allocations: 23.38 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000385/0.0133, allocations: 0.5626 MB / 384.6 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.836e-05/0.01333, allocations: 7.984 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.604e-05/0.01336, allocations: 4 kB / 384.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.733e-05/0.01343, allocations: 19.69 kB / 384.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01343, allocations: 0 / 384.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001634/0.01359, allocations: 93.41 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.01361, allocations: 8.031 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01361, allocations: 0 / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.01363, allocations: 4 kB / 384.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.903e-05/0.0137, allocations: 11.92 kB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01371, allocations: 0 / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.01375, allocations: 0 / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.01376, allocations: 4 kB / 384.8 MB, free: 11.25 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 (2): * Single equations (assignments): 2 * 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 0.0001398/0.0139, allocations: 160.6 kB / 384.9 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.01398, allocations: 47.66 kB / 385 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.01418, allocations: 84.73 kB / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01418, allocations: 0 / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01418, allocations: 0 / 385.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01419, allocations: 3.938 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.01462, allocations: 312.5 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01462, allocations: 0 / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.01466, allocations: 7.984 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.01466, allocations: 3.938 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.01467, allocations: 0 / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01467, allocations: 3.938 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01467, allocations: 0 / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.01493, allocations: 235.7 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.015, allocations: 39.66 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.01503, allocations: 4 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.0151, allocations: 3.984 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.01512, allocations: 4 kB / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.01512, allocations: 0 / 385.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004968/0.01562, allocations: 442.8 kB / 386.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01562, allocations: 0 / 386.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002363/0.01585, allocations: 16 kB / 386.1 MB, free: 9.84 MB / 362.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 (2): * Single equations (assignments): 2 * 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.002449/0.0183, allocations: 368.9 kB / 386.5 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.01847, allocations: 27.62 kB / 386.5 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01847, allocations: 0 / 386.5 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.491e-05/0.01851, allocations: 23.73 kB / 386.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.01888, allocations: 36.95 kB / 386.6 MB, free: 9.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.01989, allocations: 0.573 MB / 387.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.02014, allocations: 200.1 kB / 387.3 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.776e-05/0.02018, allocations: 19.88 kB / 387.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.02022, allocations: 12.5 kB / 387.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02022, allocations: 0 / 387.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of Templates: time 0.005231/0.02545, allocations: 1.109 MB / 388.5 MB, free: 7.582 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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: 5.006653408985585]