Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.001287/0.001287, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001415/0.001415, allocations: 164.1 kB / 23.95 MB, free: 4.16 MB / 14.72 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.455/1.455, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2019/0.2019, allocations: 32.82 MB / 293.5 MB, free: 28 kB / 270.1 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.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 440.1 MB, free: 8.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.069e-05, allocations: 2.281 kB / 440.1 MB, free: 8.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002942/0.002973, allocations: 1.669 MB / 441.8 MB, free: 6.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.004072, allocations: 0.5608 MB / 442.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.653e-05/0.004139, allocations: 0 / 442.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.004385, allocations: 59.72 kB / 442.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.004671, allocations: 99.53 kB / 442.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.005081, allocations: 188.6 kB / 442.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.005261, allocations: 91.73 kB / 442.8 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.005355, allocations: 12.23 kB / 442.8 MB, free: 5.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.00544, allocations: 47.88 kB / 442.8 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.592e-05/0.005536, allocations: 39.91 kB / 442.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.005556, allocations: 4 kB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.005673, allocations: 59.84 kB / 442.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.005738, allocations: 23.92 kB / 443 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.005784, allocations: 23.91 kB / 443 MB, free: 5.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.005985, allocations: 107.6 kB / 443.1 MB, free: 5.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.005989, allocations: 4 kB / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.00599, allocations: 0 / 443.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.005995, allocations: 4 kB / 443.1 MB, free: 5.137 MB / 366.1 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.0005251/0.00652, allocations: 333.6 kB / 443.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.006554, allocations: 16.03 kB / 443.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.006599, allocations: 16.88 kB / 443.5 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.006787, allocations: 142.8 kB / 443.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.006799, allocations: 4.375 kB / 443.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.006817, allocations: 384 / 443.6 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.007004, allocations: 70.22 kB / 443.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.007015, allocations: 4.125 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.00703, allocations: 8.125 kB / 443.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.007034, allocations: 0 / 443.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.00719, allocations: 51.89 kB / 443.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.007618, allocations: 248.5 kB / 444 MB, free: 4.172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.007906, allocations: 66.52 kB / 444 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.007993, allocations: 28.97 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.43e-05/0.008018, allocations: 0 / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.008043, allocations: 30.56 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.008044, allocations: 0 / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0016/0.009644, allocations: 440.9 kB / 444.5 MB, free: 3.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.009694, allocations: 51.41 kB / 444.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.009914, allocations: 190.9 kB / 444.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.009936, allocations: 25.7 kB / 444.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.047e-05/0.01003, allocations: 104.1 kB / 444.9 MB, free: 3.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.01007, allocations: 35.7 kB / 444.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.01012, allocations: 33.64 kB / 445 MB, free: 3.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.01029, allocations: 326.8 kB / 445.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.01044, allocations: 56.52 kB / 445.3 MB, free: 2.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.01059, allocations: 59.84 kB / 445.4 MB, free: 2.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.01089, allocations: 120.8 kB / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.01089, allocations: 0 / 445.5 MB, free: 2.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000374/0.01126, allocations: 169.5 kB / 445.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.01128, allocations: 8 kB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01129, allocations: 4 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.0113, allocations: 3.938 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.01143, allocations: 31.91 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01143, allocations: 0 / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.977e-05/0.0115, allocations: 15.94 kB / 445.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.01151, allocations: 3.984 kB / 445.7 MB, free: 2.32 MB / 366.1 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 0.0001214/0.01164, allocations: 129.8 kB / 445.9 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.01168, allocations: 15.91 kB / 445.9 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.01215, allocations: 190.3 kB / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01215, allocations: 0 / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.01215, allocations: 0 / 446.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.01216, allocations: 4 kB / 446.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.01288, allocations: 443.6 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01288, allocations: 0 / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01299, allocations: 27.92 kB / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.013, allocations: 0 / 446.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.01301, allocations: 11.94 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01301, allocations: 4 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.01301, allocations: 8 kB / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.01343, allocations: 261.1 kB / 446.8 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01345, allocations: 19.84 kB / 446.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.01347, allocations: 3.984 kB / 446.8 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.01358, allocations: 11.94 kB / 446.8 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.01362, allocations: 11.98 kB / 446.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.01364, allocations: 7.984 kB / 446.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.01376, allocations: 143.2 kB / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01376, allocations: 96 / 447 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.01402, allocations: 35.86 kB / 447 MB, free: 0.9297 MB / 366.1 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.001797/0.01582, allocations: 494 kB / 447.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.0162, allocations: 119.9 kB / 447.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0162, allocations: 0 / 447.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.01636, allocations: 63.89 kB / 447.7 MB, free: 488 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.01669, allocations: 23.39 kB / 447.7 MB, free: 468 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.01735, allocations: 323.3 kB / 448 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1693/0.1866, allocations: 101.4 kB / 448.1 MB, free: 21.44 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.1868, allocations: 30.91 kB / 448.2 MB, free: 21.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/0.1868, allocations: 17.88 kB / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.583e-06/0.1868, allocations: 0 / 448.2 MB, free: 21.43 MB / 366.1 MB Notification: Performance of Templates: time 0.004992/0.1918, allocations: 1.629 MB / 449.8 MB, free: 21.35 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.7707782201468945]