Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.001009/0.001009, 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.001114/0.001114, allocations: 170.6 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.9891/0.9891, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2394/0.2394, allocations: 32.8 MB / 294.6 MB, free: 1.191 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.953e-05, allocations: 5.359 kB / 323.3 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002278/0.002298, allocations: 1.698 MB / 325 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007622/0.00306, allocations: 0.5374 MB / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.003113, allocations: 0 / 325.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002773/0.00339, allocations: 107.6 kB / 325.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.003638, allocations: 119.5 kB / 325.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003859, allocations: 95.62 kB / 325.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.004003, allocations: 95.73 kB / 325.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.848e-05/0.004081, allocations: 8 kB / 325.9 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.171e-05/0.004153, allocations: 55.81 kB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.004245, allocations: 55.86 kB / 326.1 MB, free: 6.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.004257, allocations: 4 kB / 326.1 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.004335, allocations: 43.92 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.326e-05/0.004378, allocations: 27.92 kB / 326.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.004406, allocations: 19.92 kB / 326.2 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.004549, allocations: 95.59 kB / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004551, allocations: 0 / 326.2 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004552, allocations: 4 kB / 326.2 MB, free: 6.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.004556, allocations: 0 / 326.2 MB, free: 6.672 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003206/0.004877, allocations: 337.3 kB / 326.6 MB, free: 6.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.004907, allocations: 8.031 kB / 326.6 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.004933, allocations: 4.938 kB / 326.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.005061, allocations: 146.4 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.005069, allocations: 4.375 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.005088, allocations: 8.312 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.365e-05/0.005171, allocations: 54.94 kB / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.005179, allocations: 192 / 326.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.005189, allocations: 12.12 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.005194, allocations: 0 / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.101e-05/0.005215, allocations: 11.94 kB / 326.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.005418, allocations: 175.7 kB / 327 MB, free: 5.852 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.503e-05/0.005463, allocations: 26.56 kB / 327 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.322e-05/0.005476, allocations: 8.859 kB / 327 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.00549, allocations: 3.938 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.00551, allocations: 38.5 kB / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005511, allocations: 0 / 327.1 MB, free: 5.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004016/0.005913, allocations: 154 kB / 327.2 MB, free: 5.598 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.00594, allocations: 59.39 kB / 327.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.006059, allocations: 197.6 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.006068, allocations: 25.7 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.006108, allocations: 96.09 kB / 327.6 MB, free: 5.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.006133, allocations: 31.73 kB / 327.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.006162, allocations: 21.72 kB / 327.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.006249, allocations: 326.8 kB / 328 MB, free: 4.805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.006264, allocations: 7.984 kB / 328 MB, free: 4.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.006275, allocations: 4 kB / 328 MB, free: 4.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.006314, allocations: 36.77 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.006315, allocations: 0 / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.764e-05/0.006382, allocations: 61.61 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.006396, allocations: 4 kB / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006401, allocations: 0 / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.006413, allocations: 0 / 328.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.006477, allocations: 15.98 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.006486, allocations: 4 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.006505, allocations: 4 kB / 328.1 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.006511, allocations: 4 kB / 328.1 MB, free: 4.656 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 (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 6.255e-05/0.006574, allocations: 120.5 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.006598, allocations: 19.92 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.006703, allocations: 79.41 kB / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006705, allocations: 0 / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.006707, allocations: 0 / 328.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.006711, allocations: 4 kB / 328.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.006934, allocations: 251.4 kB / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.006936, allocations: 0 / 328.6 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.006975, allocations: 19.92 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.00698, allocations: 8.031 kB / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.006987, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.006989, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.006991, allocations: 0 / 328.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.408e-05/0.007085, allocations: 164.3 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.007098, allocations: 11.91 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.007111, allocations: 7.984 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.724e-05/0.007148, allocations: 8 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.007173, allocations: 7.922 kB / 328.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.007177, allocations: 4 kB / 328.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.007231, allocations: 68.22 kB / 328.9 MB, free: 3.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007231, allocations: 4 kB / 328.9 MB, free: 3.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.007376, allocations: 16 kB / 328.9 MB, free: 3.809 MB / 298.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.001239/0.008615, allocations: 0.5656 MB / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.064e-05/0.008696, allocations: 36.78 kB / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.008699, allocations: 0 / 329.5 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.312e-05/0.008723, allocations: 28.92 kB / 329.5 MB, free: 3.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.00888, allocations: 26.61 kB / 329.5 MB, free: 3.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.009181, allocations: 234.6 kB / 329.8 MB, free: 3.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.009221, allocations: 83.2 kB / 329.8 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.35e-05/0.009255, allocations: 16.78 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.009303, allocations: 63.36 kB / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009304, allocations: 0 / 329.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of Templates: time 0.002994/0.0123, allocations: 1.489 MB / 331.4 MB, free: 1.535 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.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.9532756353728473]