Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001379/0.001379, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001419/0.001419, allocations: 164.5 kB / 24.99 MB, free: 8.746 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.066/1.066, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2677/0.2677, allocations: 34.26 MB / 296 MB, free: 0.7812 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.879e-05/3.037e-05, allocations: 5.969 kB / 378.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.00273/0.002761, allocations: 1.677 MB / 379.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009958/0.003757, allocations: 0.553 MB / 380.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.003854, allocations: 4 kB / 380.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004438/0.004298, allocations: 91.67 kB / 380.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003462/0.004644, allocations: 119.5 kB / 380.5 MB, free: 500 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.004931, allocations: 119.6 kB / 380.6 MB, free: 380 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.005128, allocations: 99.73 kB / 380.7 MB, free: 280 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.005261, allocations: 27.97 kB / 380.7 MB, free: 252 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.005339, allocations: 51.83 kB / 380.8 MB, free: 200 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.005441, allocations: 59.86 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.005459, allocations: 8 kB / 380.8 MB, free: 132 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.651e-05/0.005546, allocations: 47.91 kB / 380.9 MB, free: 84 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.903e-05/0.005605, allocations: 35.86 kB / 380.9 MB, free: 48 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.005643, allocations: 23.91 kB / 381 MB, free: 24 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.005854, allocations: 107.7 kB / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.005857, allocations: 0 / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.051e-06/0.005858, allocations: 0 / 381.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.005863, allocations: 0 / 381.1 MB, free: 15.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004749/0.006338, allocations: 463.8 kB / 381.5 MB, free: 15.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.00638, allocations: 8.031 kB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.006437, allocations: 24.84 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.006612, allocations: 156.4 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.006625, allocations: 8.375 kB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.006651, allocations: 4.375 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.006822, allocations: 82.73 kB / 381.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.006836, allocations: 4.188 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.006849, allocations: 4.125 kB / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.006859, allocations: 0 / 381.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.105e-05/0.00691, allocations: 23.92 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.007334, allocations: 339.5 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.455e-05/0.007429, allocations: 59.03 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.422e-05/0.007463, allocations: 15.69 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.007491, allocations: 8 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.007518, allocations: 37.38 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.00752, allocations: 0 / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007448/0.008265, allocations: 245.5 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.008301, allocations: 51.41 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.008469, allocations: 250.7 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.008485, allocations: 29.7 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.00856, allocations: 170.8 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.008597, allocations: 35.66 kB / 383 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.008641, allocations: 35.36 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004621/0.009103, allocations: 0.504 MB / 383.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.009149, allocations: 28.11 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.009179, allocations: 15.98 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.009255, allocations: 54.88 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.009256, allocations: 0 / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001274/0.009383, allocations: 105.6 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.009397, allocations: 4 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.009402, allocations: 0 / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.009417, allocations: 4 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.443e-05/0.009511, allocations: 23.98 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.009517, allocations: 4 kB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.00954, allocations: 7.875 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.009549, allocations: 7.984 kB / 383.8 MB, free: 12.94 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 (13): * Single equations (assignments): 13 * 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.768e-05/0.009627, allocations: 160.6 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.009656, allocations: 23.84 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.009853, allocations: 119.1 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.009857, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.009861, allocations: 4 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.009865, allocations: 0 / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.01028, allocations: 441 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.01028, allocations: 8 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.01034, allocations: 19.98 kB / 384.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01034, allocations: 4 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.01035, allocations: 3.938 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.01036, allocations: 4 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01036, allocations: 0 / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.01053, allocations: 263.5 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.01054, allocations: 15.94 kB / 384.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.01056, allocations: 7.938 kB / 384.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.819e-05/0.0106, allocations: 7.984 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.01063, allocations: 15.92 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.01064, allocations: 0 / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.837e-05/0.01073, allocations: 185.1 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.01073, allocations: 0 / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.01091, allocations: 31.92 kB / 385.1 MB, free: 11.57 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 (13): * Single equations (assignments): 13 * 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.001008/0.01192, allocations: 439.4 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.01207, allocations: 67.59 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01207, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.702e-05/0.01212, allocations: 43.61 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.01236, allocations: 19.73 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.01281, allocations: 284.7 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.165e-05/0.01286, allocations: 75.33 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.01291, allocations: 32.47 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.01295, allocations: 24.44 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01295, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.003596/0.01654, allocations: 1.618 MB / 387.7 MB, free: 9.102 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.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.2195258389692754]