Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001885/0.001885, allocations: 87.67 kB / 20.96 MB, free: 3.449 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.002039/0.002039, allocations: 157.3 kB / 24.27 MB, free: 144 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.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.3504/0.3504, allocations: 34.26 MB / 295.3 MB, free: 0.6914 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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.752e-05, allocations: 5.406 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003355/0.003383, allocations: 1.674 MB / 379 MB, free: 1.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.004611, allocations: 0.5725 MB / 379.6 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.004662, allocations: 0 / 379.6 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009009/0.005563, allocations: 463 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000537/0.0061, allocations: 303.1 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.006506, allocations: 159.6 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.006781, allocations: 191.5 kB / 380.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.006878, allocations: 20.2 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.007058, allocations: 119.8 kB / 380.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.007364, allocations: 239.6 kB / 381 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.007392, allocations: 4 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.007519, allocations: 59.84 kB / 381.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.007645, allocations: 91.64 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.007717, allocations: 39.75 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003677/0.008085, allocations: 251 kB / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.008091, allocations: 4 kB / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008091, allocations: 0 / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.008097, allocations: 3.938 kB / 381.5 MB, free: 14.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009642/0.009061, allocations: 0.7239 MB / 382.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.009095, allocations: 8.031 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.009179, allocations: 44.66 kB / 382.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.009507, allocations: 248.8 kB / 382.5 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.009521, allocations: 8.375 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.009542, allocations: 8.375 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.009696, allocations: 50.25 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.009709, allocations: 192 / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.009721, allocations: 8.062 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.009732, allocations: 7.984 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.52e-05/0.009827, allocations: 19.98 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.01053, allocations: 467.6 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.01067, allocations: 63 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.01072, allocations: 15.78 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.01075, allocations: 7.984 kB / 383.1 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.01078, allocations: 33.39 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.01078, allocations: 0 / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009475/0.01173, allocations: 288.6 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.01178, allocations: 63.34 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008382/0.01262, allocations: 0.6784 MB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.01264, allocations: 25.7 kB / 384.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.01294, allocations: 298.8 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.01298, allocations: 35.73 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.773e-05/0.01304, allocations: 27.38 kB / 384.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000369/0.0134, allocations: 0.5781 MB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.01347, allocations: 16 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.01355, allocations: 19.98 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.01368, allocations: 51.67 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.01368, allocations: 4 kB / 385.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002419/0.01393, allocations: 125.4 kB / 385.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01394, allocations: 11.94 kB / 385.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01395, allocations: 4 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.01396, allocations: 0 / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.725e-05/0.01406, allocations: 15.98 kB / 385.4 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.01407, allocations: 4 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.01412, allocations: 4 kB / 385.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.01413, allocations: 3.984 kB / 385.4 MB, free: 10.64 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 (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 0.0001386/0.01426, allocations: 164.5 kB / 385.6 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.01434, allocations: 51.67 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.01466, allocations: 133.5 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01466, allocations: 0 / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01467, allocations: 0 / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01467, allocations: 3.984 kB / 385.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.01551, allocations: 0.5595 MB / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01551, allocations: 0 / 386.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.01558, allocations: 15.98 kB / 386.3 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.01558, allocations: 4 kB / 386.3 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.01559, allocations: 8.031 kB / 386.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01559, allocations: 480 / 386.3 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.0156, allocations: 7.938 kB / 386.3 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.01595, allocations: 287.2 kB / 386.6 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.01601, allocations: 35.72 kB / 386.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.795e-05/0.01604, allocations: 4 kB / 386.7 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.538e-05/0.01613, allocations: 7.984 kB / 386.7 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.01616, allocations: 3.938 kB / 386.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.01618, allocations: 7.984 kB / 386.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007339/0.01691, allocations: 442.8 kB / 387.1 MB, free: 8.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01691, allocations: 4 kB / 387.1 MB, free: 8.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002683/0.01718, allocations: 31.92 kB / 387.1 MB, free: 8.801 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.003333/0.02051, allocations: 494.5 kB / 387.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.02073, allocations: 67.59 kB / 387.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.02073, allocations: 0 / 387.7 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.02083, allocations: 43.59 kB / 387.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.0212, allocations: 33.89 kB / 387.8 MB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.02222, allocations: 0.6158 MB / 388.4 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.0225, allocations: 216.1 kB / 388.6 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.355e-05/0.02257, allocations: 29.02 kB / 388.6 MB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.02261, allocations: 16.5 kB / 388.6 MB, free: 7.457 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02261, allocations: 0 / 388.6 MB, free: 7.457 MB / 362.7 MB Notification: Performance of Templates: time 0.005896/0.02851, allocations: 1.611 MB / 390.2 MB, free: 5.863 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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: 4.960502678062767]