Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001556/0.001556, 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.001114/0.001114, allocations: 172.4 kB / 24.91 MB, free: 8.266 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.9987/0.9987, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2459/0.2459, allocations: 34.26 MB / 296.1 MB, free: 0.6602 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.Test31,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 325.3 MB, free: 7.586 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.498e-05/1.628e-05, allocations: 3.078 kB / 325.3 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002074/0.00209, allocations: 1.711 MB / 327 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006885/0.002779, allocations: 0.5413 MB / 327.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.002826, allocations: 0 / 327.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.00309, allocations: 131.5 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.003305, allocations: 127.4 kB / 327.8 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.003506, allocations: 111.6 kB / 327.9 MB, free: 4.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.003641, allocations: 108.3 kB / 328 MB, free: 4.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.113e-05/0.003712, allocations: 8 kB / 328 MB, free: 4.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.066e-05/0.003782, allocations: 59.86 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.00389, allocations: 71.84 kB / 328.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.003902, allocations: 4 kB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.00397, allocations: 43.92 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.004013, allocations: 31.86 kB / 328.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.004037, allocations: 19.92 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.00417, allocations: 103.5 kB / 328.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.433e-06/0.004172, allocations: 4 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004172, allocations: 0 / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.004176, allocations: 0 / 328.4 MB, free: 4.508 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.0002859/0.004461, allocations: 337.4 kB / 328.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.004489, allocations: 8.031 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.004514, allocations: 12.92 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.004632, allocations: 145.6 kB / 328.9 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-06/0.004638, allocations: 4.375 kB / 328.9 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.004653, allocations: 4.312 kB / 328.9 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.753e-05/0.004731, allocations: 66.88 kB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004738, allocations: 4.188 kB / 328.9 MB, free: 3.883 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.004746, allocations: 4.125 kB / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.00475, allocations: 0 / 328.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.491e-05/0.004775, allocations: 11.98 kB / 329 MB, free: 3.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.004977, allocations: 175 kB / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.549e-05/0.005022, allocations: 41.39 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.005036, allocations: 8.859 kB / 329.2 MB, free: 3.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.005049, allocations: 4 kB / 329.2 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.005066, allocations: 34.5 kB / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005067, allocations: 0 / 329.2 MB, free: 3.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003711/0.005438, allocations: 146.1 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.005464, allocations: 51.41 kB / 329.4 MB, free: 3.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.005586, allocations: 213.2 kB / 329.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.005595, allocations: 25.7 kB / 329.6 MB, free: 3.102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.349e-05/0.005628, allocations: 104 kB / 329.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.005651, allocations: 27.8 kB / 329.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.005682, allocations: 21.7 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.005761, allocations: 322.8 kB / 330.1 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.005774, allocations: 15.98 kB / 330.1 MB, free: 2.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.235e-05/0.005787, allocations: 11.92 kB / 330.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.005822, allocations: 31.89 kB / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.005823, allocations: 0 / 330.2 MB, free: 2.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.993e-05/0.005883, allocations: 61.61 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.005892, allocations: 4 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005896, allocations: 0 / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.005906, allocations: 0 / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.732e-05/0.005963, allocations: 20.34 kB / 330.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.005967, allocations: 4 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.005983, allocations: 4 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.00599, allocations: 8 kB / 330.3 MB, free: 2.449 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.198e-05/0.006042, allocations: 116.6 kB / 330.4 MB, free: 2.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.006064, allocations: 15.92 kB / 330.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.477e-05/0.006158, allocations: 83.05 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.006161, allocations: 3.984 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.006162, allocations: 0 / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006165, allocations: 4 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.006375, allocations: 255.5 kB / 330.7 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.006377, allocations: 0 / 330.7 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.006412, allocations: 23.95 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006413, allocations: 0 / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.006418, allocations: 0 / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.00642, allocations: 4 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.006421, allocations: 0 / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.316e-05/0.006504, allocations: 164.3 kB / 330.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.006514, allocations: 19.83 kB / 330.9 MB, free: 1.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006524, allocations: 4 kB / 330.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.145e-05/0.006556, allocations: 0 / 330.9 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.006578, allocations: 11.98 kB / 331 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.006581, allocations: 4 kB / 331 MB, free: 1.688 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.861e-05/0.00663, allocations: 68.62 kB / 331 MB, free: 1.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00663, allocations: 0 / 331 MB, free: 1.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.006765, allocations: 23.98 kB / 331 MB, free: 1.594 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.00118/0.007945, allocations: 0.5728 MB / 331.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.168e-05/0.008016, allocations: 44.7 kB / 331.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.008019, allocations: 0 / 331.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.041e-05/0.008039, allocations: 16.86 kB / 331.7 MB, free: 1.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.0082, allocations: 19.98 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.008535, allocations: 257 kB / 332 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.499e-05/0.00858, allocations: 87.27 kB / 332 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.53e-05/0.008615, allocations: 17.02 kB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.552e-05/0.00867, allocations: 59.36 kB / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.008671, allocations: 0 / 332.1 MB, free: 0.7695 MB / 298.7 MB Notification: Performance of Templates: time 0.002894/0.01157, allocations: 1.532 MB / 333.6 MB, free: 15.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.9070721599273384]