Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.0009714/0.0009714, allocations: 80.8 kB / 21.49 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.001592/0.001592, allocations: 169.9 kB / 24.91 MB, free: 9.188 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.9654/0.9654, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2533/0.2533, allocations: 32.81 MB / 294.6 MB, free: 1.168 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.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 323.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.926e-05, allocations: 6.312 kB / 323.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002345/0.002364, allocations: 1.694 MB / 325 MB, free: 7.906 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007246/0.003088, allocations: 0.5491 MB / 325.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.003137, allocations: 4 kB / 325.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.00339, allocations: 119.6 kB / 325.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.003647, allocations: 139.5 kB / 325.8 MB, free: 7.094 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.0039, allocations: 107.6 kB / 325.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.004053, allocations: 103.7 kB / 326 MB, free: 6.887 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.315e-05/0.004126, allocations: 7.984 kB / 326 MB, free: 6.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.004197, allocations: 63.81 kB / 326.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.004292, allocations: 67.84 kB / 326.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.004303, allocations: 4 kB / 326.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.119e-05/0.004385, allocations: 55.91 kB / 326.2 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.004423, allocations: 27.92 kB / 326.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.004446, allocations: 15.88 kB / 326.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.00458, allocations: 99.59 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.004582, allocations: 0 / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004583, allocations: 0 / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.004586, allocations: 0 / 326.3 MB, free: 6.551 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.0002768/0.004863, allocations: 345.1 kB / 326.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.00489, allocations: 12.03 kB / 326.7 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.004917, allocations: 8.922 kB / 326.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.005048, allocations: 149.6 kB / 326.8 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.005058, allocations: 4.375 kB / 326.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.005074, allocations: 4.375 kB / 326.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.081e-05/0.005154, allocations: 58.94 kB / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005162, allocations: 192 / 326.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.005169, allocations: 4.125 kB / 326.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.005174, allocations: 4 kB / 326.9 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.005195, allocations: 7.938 kB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002545/0.005449, allocations: 183.6 kB / 327.1 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.005498, allocations: 29.39 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.005514, allocations: 12.86 kB / 327.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.005529, allocations: 0 / 327.1 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.005552, allocations: 46.44 kB / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.005553, allocations: 0 / 327.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003997/0.005953, allocations: 150 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.005985, allocations: 51.41 kB / 327.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.006106, allocations: 213.2 kB / 327.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.006116, allocations: 25.7 kB / 327.6 MB, free: 5.133 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.00615, allocations: 104 kB / 327.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.006174, allocations: 31.78 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/0.006203, allocations: 17.72 kB / 327.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.821e-05/0.006301, allocations: 326.8 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.006316, allocations: 7.984 kB / 328.1 MB, free: 4.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.273e-05/0.006329, allocations: 8 kB / 328.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.006369, allocations: 31.59 kB / 328.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.00637, allocations: 4 kB / 328.1 MB, free: 4.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.775e-05/0.006438, allocations: 57.61 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.006449, allocations: 8 kB / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.006454, allocations: 0 / 328.2 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.006465, allocations: 4 kB / 328.2 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.006518, allocations: 15.98 kB / 328.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-06/0.00652, allocations: 0 / 328.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.00654, allocations: 4 kB / 328.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.006547, allocations: 4 kB / 328.2 MB, free: 4.488 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 5.915e-05/0.006606, allocations: 116.6 kB / 328.3 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.006628, allocations: 15.91 kB / 328.4 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.006743, allocations: 91.36 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006745, allocations: 0 / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.006746, allocations: 0 / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.006749, allocations: 4 kB / 328.5 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.007, allocations: 255.5 kB / 328.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.007003, allocations: 3.984 kB / 328.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.007038, allocations: 12 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00704, allocations: 7.938 kB / 328.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.007045, allocations: 0 / 328.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.007047, allocations: 0 / 328.7 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.00705, allocations: 3.984 kB / 328.7 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.756e-05/0.007147, allocations: 168.3 kB / 328.9 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.007159, allocations: 15.94 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.007169, allocations: 3.938 kB / 328.9 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.698e-05/0.007206, allocations: 4 kB / 328.9 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.007233, allocations: 11.98 kB / 328.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-06/0.007237, allocations: 0 / 328.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.504e-05/0.007292, allocations: 72.61 kB / 329 MB, free: 3.648 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007292, allocations: 3.938 kB / 329 MB, free: 3.645 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000146/0.007438, allocations: 19.98 kB / 329 MB, free: 3.625 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.001312/0.00875, allocations: 0.5654 MB / 329.6 MB, free: 3.363 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.273e-05/0.008832, allocations: 36.78 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.008837, allocations: 4 kB / 329.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.00886, allocations: 24.94 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.00902, allocations: 24.05 kB / 329.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.009345, allocations: 257 kB / 329.9 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.298e-05/0.009388, allocations: 75.33 kB / 330 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.009424, allocations: 12.72 kB / 330 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.009477, allocations: 63.36 kB / 330.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009478, allocations: 7.938 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of Templates: time 0.003014/0.01249, allocations: 1.539 MB / 331.6 MB, free: 1.285 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.9162953081540763]