Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.0009212/0.0009212, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009949/0.0009949, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9376/0.9376, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1414/0.1414, allocations: 34.27 MB / 296.9 MB, free: 13.91 MB / 282.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.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 379.3 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.48e-05, allocations: 6.25 kB / 379.3 MB, free: 23.37 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002592/0.002607, allocations: 1.697 MB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007083/0.003316, allocations: 0.5568 MB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.003373, allocations: 4 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.003577, allocations: 71.66 kB / 381.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.00379, allocations: 99.52 kB / 381.7 MB, free: 20.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.00404, allocations: 175.5 kB / 381.9 MB, free: 20.75 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.004155, allocations: 95.69 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.827e-05/0.004233, allocations: 20.22 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.335e-05/0.004286, allocations: 47.89 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.004358, allocations: 47.88 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.004369, allocations: 4 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.717e-05/0.004436, allocations: 47.92 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.004483, allocations: 27.91 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.004503, allocations: 19.94 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.004621, allocations: 107.5 kB / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.004623, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.004624, allocations: 0 / 382.3 MB, free: 20.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.738e-06/0.004628, allocations: 4 kB / 382.3 MB, free: 20.34 MB / 314.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.0002722/0.0049, allocations: 443.9 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.004927, allocations: 8.031 kB / 382.8 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.004957, allocations: 12.89 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.253e-05/0.005049, allocations: 144.4 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.005058, allocations: 384 / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.005073, allocations: 12.36 kB / 382.9 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.696e-05/0.00515, allocations: 62.88 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.005158, allocations: 192 / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.005164, allocations: 8.125 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.00517, allocations: 8 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.005194, allocations: 11.98 kB / 383 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.005388, allocations: 280.2 kB / 383.3 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.005495, allocations: 43.05 kB / 383.3 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.005511, allocations: 15.69 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.005524, allocations: 7.922 kB / 383.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.005535, allocations: 33.48 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 6.81e-07/0.005536, allocations: 3.938 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004481/0.005984, allocations: 229.7 kB / 383.6 MB, free: 18.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.662e-05/0.006001, allocations: 55.41 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.00607, allocations: 216 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-06/0.006076, allocations: 29.7 kB / 383.9 MB, free: 18.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.006105, allocations: 158.7 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.006125, allocations: 31.7 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.006156, allocations: 35.34 kB / 384.1 MB, free: 18.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.006201, allocations: 0.5078 MB / 384.6 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.006219, allocations: 11.98 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.673e-05/0.006236, allocations: 8 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.006278, allocations: 51.53 kB / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.006278, allocations: 0 / 384.7 MB, free: 17.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 7.528e-05/0.006354, allocations: 85.59 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.006362, allocations: 4 kB / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.006366, allocations: 0 / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.006374, allocations: 0 / 384.8 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.006427, allocations: 23.98 kB / 384.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-06/0.006429, allocations: 7.938 kB / 384.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.006454, allocations: 11.98 kB / 384.8 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.00646, allocations: 4 kB / 384.9 MB, free: 17.61 MB / 314.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 3.896e-05/0.006499, allocations: 160.5 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.006521, allocations: 11.95 kB / 385 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.006636, allocations: 98.81 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.006638, allocations: 4 kB / 385.1 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006639, allocations: 3.984 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006642, allocations: 0 / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.006861, allocations: 393.1 kB / 385.5 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.006863, allocations: 4 kB / 385.5 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.006908, allocations: 27.91 kB / 385.5 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.00691, allocations: 4 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.006915, allocations: 0 / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006917, allocations: 0 / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.006918, allocations: 4 kB / 385.5 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.455e-05/0.007002, allocations: 259.1 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.855e-06/0.00701, allocations: 7.953 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007022, allocations: 12 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.965e-05/0.007061, allocations: 8 kB / 385.8 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.007086, allocations: 12.11 kB / 385.8 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.007092, allocations: 11.98 kB / 385.9 MB, free: 16.53 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.255e-05/0.007125, allocations: 156.5 kB / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007125, allocations: 0 / 386 MB, free: 16.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.00729, allocations: 27.94 kB / 386 MB, free: 16.35 MB / 314.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.000791/0.008081, allocations: 428.9 kB / 386.5 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.771e-05/0.008169, allocations: 63.52 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008171, allocations: 4 kB / 386.5 MB, free: 16.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.938e-05/0.0082, allocations: 35.61 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.008395, allocations: 25.36 kB / 386.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.008658, allocations: 278.3 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.752e-05/0.008686, allocations: 75.19 kB / 386.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.008723, allocations: 20.59 kB / 386.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.00877, allocations: 90.19 kB / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of SimCode: time 4.31e-07/0.00877, allocations: 0 / 387 MB, free: 15.45 MB / 314.7 MB Notification: Performance of Templates: time 0.002756/0.01153, allocations: 1.824 MB / 388.9 MB, free: 13.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.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.9899344430305064]