Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.0009581/0.0009581, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009009/0.0009009, allocations: 170.3 kB / 24.91 MB, free: 8.723 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.9165/0.9165, allocations: 177.1 MB / 205.3 MB, free: 5.105 MB / 186.7 MB " [Timeout remaining time 179] 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.258/0.258, allocations: 32.8 MB / 294.6 MB, free: 1.137 MB / 266.7 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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 3.938 kB / 323.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.069e-05, allocations: 3.672 kB / 323.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.002641/0.002662, allocations: 1.629 MB / 324.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.004159, allocations: 1.289 MB / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.004232, allocations: 0 / 326.2 MB, free: 6.738 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.004488, allocations: 23.84 kB / 326.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.00492, allocations: 87.5 kB / 326.3 MB, free: 6.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.005257, allocations: 91.64 kB / 326.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.005444, allocations: 71.81 kB / 326.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.005563, allocations: 8 kB / 326.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.707e-05/0.00564, allocations: 31.91 kB / 326.5 MB, free: 6.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.00577, allocations: 27.91 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.005795, allocations: 4 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.005988, allocations: 95.75 kB / 326.6 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.926e-05/0.006047, allocations: 11.98 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.006082, allocations: 11.94 kB / 326.6 MB, free: 6.281 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.006301, allocations: 143.5 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.006303, allocations: 0 / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.006303, allocations: 0 / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.327e-06/0.006306, allocations: 3.938 kB / 326.8 MB, free: 6.137 MB / 298.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.0003838/0.00669, allocations: 297.5 kB / 327.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006729, allocations: 8.031 kB / 327.1 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.006768, allocations: 8.938 kB / 327.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.006918, allocations: 125.7 kB / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.006931, allocations: 384 / 327.2 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.006961, allocations: 8.375 kB / 327.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.007114, allocations: 94.36 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.007132, allocations: 4.125 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.007144, allocations: 8.125 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.007154, allocations: 4 kB / 327.3 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.66e-05/0.007181, allocations: 8 kB / 327.3 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.007451, allocations: 167.6 kB / 327.5 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.007622, allocations: 34.56 kB / 327.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.007639, allocations: 4.859 kB / 327.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.007664, allocations: 7.938 kB / 327.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.007692, allocations: 38.56 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.007693, allocations: 4 kB / 327.6 MB, free: 5.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003182/0.008011, allocations: 81.62 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.00806, allocations: 77.11 kB / 327.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.008171, allocations: 142.7 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.008181, allocations: 25.7 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.008216, allocations: 100.1 kB / 328 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.008234, allocations: 15.84 kB / 328 MB, free: 4.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.00826, allocations: 17.7 kB / 328 MB, free: 4.723 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.008353, allocations: 322.8 kB / 328.3 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.008366, allocations: 4 kB / 328.3 MB, free: 4.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.008403, allocations: 51.41 kB / 328.4 MB, free: 4.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.008431, allocations: 16.84 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.008432, allocations: 0 / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.314e-05/0.008495, allocations: 53.56 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.008507, allocations: 4 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.008511, allocations: 0 / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.008525, allocations: 0 / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.667e-05/0.008562, allocations: 8 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.008565, allocations: 0 / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.008586, allocations: 11.98 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.008591, allocations: 3.984 kB / 328.5 MB, free: 4.227 MB / 298.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 (5): * Single equations (assignments): 5 * 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 6.367e-05/0.008655, allocations: 116.7 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.008671, allocations: 8.219 kB / 328.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.553e-05/0.008757, allocations: 62.39 kB / 328.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.008761, allocations: 7.984 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.008764, allocations: 0 / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.008768, allocations: 4 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.008963, allocations: 206.8 kB / 328.9 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008965, allocations: 3.938 kB / 328.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.008994, allocations: 15.92 kB / 328.9 MB, free: 3.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.008996, allocations: 4 kB / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.009002, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.009002, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009003, allocations: 0 / 328.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.824e-05/0.009091, allocations: 151.5 kB / 329.1 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.356e-05/0.009105, allocations: 11.89 kB / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.009115, allocations: 0 / 329.1 MB, free: 3.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/0.009145, allocations: 4 kB / 329.1 MB, free: 3.586 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.009171, allocations: 7.984 kB / 329.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.009174, allocations: 4 kB / 329.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.088e-05/0.009215, allocations: 33.53 kB / 329.1 MB, free: 3.539 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009215, allocations: 4 kB / 329.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.009393, allocations: 39.86 kB / 329.2 MB, free: 3.496 MB / 298.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 (5): * Single equations (assignments): 5 * 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.001494/0.01089, allocations: 0.633 MB / 329.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.43e-05/0.01098, allocations: 16.86 kB / 329.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.01099, allocations: 4 kB / 329.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.811e-05/0.01101, allocations: 16.84 kB / 329.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.01115, allocations: 19.92 kB / 329.8 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002984/0.01145, allocations: 166.5 kB / 330 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.811e-05/0.01149, allocations: 63.34 kB / 330.1 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.72e-05/0.01153, allocations: 8 kB / 330.1 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.0116, allocations: 67.3 kB / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.0116, allocations: 0 / 330.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003487/0.01508, allocations: 1.999 MB / 332.1 MB, free: 0.7891 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.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.979121415410191]