Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0008358/0.0008358, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00142/0.00142, allocations: 175.7 kB / 24.92 MB, free: 8.727 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.9697/0.9697, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.2622/0.2622, allocations: 32.81 MB / 294.6 MB, free: 1.18 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 323.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.807e-05, allocations: 3.516 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003196/0.003224, allocations: 1.683 MB / 325 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.004916, allocations: 1.297 MB / 326.3 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.62e-05/0.004993, allocations: 4 kB / 326.3 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.005219, allocations: 19.84 kB / 326.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.005528, allocations: 87.48 kB / 326.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.005819, allocations: 99.62 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.005964, allocations: 71.83 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.006058, allocations: 15.98 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.006124, allocations: 39.84 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.006243, allocations: 35.83 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.006258, allocations: 4 kB / 326.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.006444, allocations: 91.88 kB / 326.7 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.006489, allocations: 23.92 kB / 326.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.006515, allocations: 11.94 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.006729, allocations: 143.5 kB / 326.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.006733, allocations: 4 kB / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.006735, allocations: 0 / 326.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.00674, allocations: 0 / 326.9 MB, free: 5.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000366/0.007106, allocations: 314 kB / 327.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.007141, allocations: 8.031 kB / 327.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.007179, allocations: 12.92 kB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.007326, allocations: 132.2 kB / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.007333, allocations: 384 / 327.4 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.007353, allocations: 8.375 kB / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.007483, allocations: 102.3 kB / 327.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.007493, allocations: 4.188 kB / 327.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.007503, allocations: 8.125 kB / 327.5 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007509, allocations: 4 kB / 327.5 MB, free: 5.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.007534, allocations: 7.984 kB / 327.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.007763, allocations: 179 kB / 327.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.007818, allocations: 34.56 kB / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.007833, allocations: 8.859 kB / 327.7 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.007853, allocations: 3.984 kB / 327.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.007874, allocations: 34.5 kB / 327.8 MB, free: 5.039 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.007875, allocations: 4 kB / 327.8 MB, free: 5.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002999/0.008175, allocations: 105.7 kB / 327.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.00821, allocations: 81.09 kB / 327.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.00831, allocations: 148.3 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.00832, allocations: 25.7 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.008361, allocations: 92.08 kB / 328.2 MB, free: 4.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.008387, allocations: 31.73 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.008417, allocations: 21.7 kB / 328.3 MB, free: 4.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.008493, allocations: 322.8 kB / 328.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.008505, allocations: 11.88 kB / 328.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.008535, allocations: 47.41 kB / 328.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.709e-05/0.008572, allocations: 32.86 kB / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.008573, allocations: 0 / 328.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.596e-05/0.008639, allocations: 57.61 kB / 328.7 MB, free: 3.992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.008653, allocations: 8 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.008658, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.008669, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.158e-05/0.008741, allocations: 19.92 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.008743, allocations: 384 / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.008764, allocations: 4 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.00877, allocations: 4 kB / 328.8 MB, free: 3.957 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 7.026e-05/0.00884, allocations: 116.7 kB / 328.9 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.008863, allocations: 15.92 kB / 328.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.008983, allocations: 70.75 kB / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.008986, allocations: 0 / 329 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.008988, allocations: 4 kB / 329 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.008992, allocations: 3.938 kB / 329 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.009222, allocations: 242.7 kB / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.009224, allocations: 0 / 329.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.009276, allocations: 19.97 kB / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.009279, allocations: 0 / 329.2 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.009284, allocations: 7.938 kB / 329.2 MB, free: 3.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.009285, allocations: 4 kB / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.009287, allocations: 0 / 329.2 MB, free: 3.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.009396, allocations: 155.5 kB / 329.4 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.088e-05/0.009407, allocations: 7.938 kB / 329.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.00942, allocations: 4 kB / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.24e-05/0.009452, allocations: 0 / 329.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.009481, allocations: 11.98 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.009484, allocations: 0 / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.62e-05/0.00952, allocations: 33.84 kB / 329.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009521, allocations: 3.938 kB / 329.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.009699, allocations: 43.92 kB / 329.5 MB, free: 3.168 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 (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.001333/0.01103, allocations: 0.6326 MB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.01112, allocations: 32.84 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.01112, allocations: 0 / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.34e-05/0.01114, allocations: 28.78 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.01131, allocations: 23.88 kB / 330.2 MB, free: 2.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002883/0.01159, allocations: 182.8 kB / 330.4 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.703e-05/0.01163, allocations: 71.34 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.34e-05/0.01167, allocations: 17.02 kB / 330.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.01174, allocations: 67.36 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01174, allocations: 0 / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of Templates: time 0.0035/0.01524, allocations: 2.097 MB / 332.6 MB, free: 304 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.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.9422482987865806]