Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.0009512/0.0009512, 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.000999/0.000999, allocations: 169.9 kB / 24.91 MB, free: 9.18 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.9943/0.9943, 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.2925/0.2925, allocations: 34.27 MB / 296.1 MB, free: 0.7266 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.821e-05, allocations: 3.891 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002099/0.002118, allocations: 1.695 MB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.002882, allocations: 0.5491 MB / 327.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.002929, allocations: 0 / 327.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.003128, allocations: 27.78 kB / 327.6 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.003312, allocations: 71.58 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.003486, allocations: 91.69 kB / 327.7 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.00361, allocations: 84.31 kB / 327.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.003681, allocations: 12 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.00374, allocations: 31.91 kB / 327.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.565e-05/0.003806, allocations: 31.89 kB / 327.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.00382, allocations: 4 kB / 327.9 MB, free: 5.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.003963, allocations: 99.81 kB / 328 MB, free: 4.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.058e-05/0.004004, allocations: 15.92 kB / 328 MB, free: 4.922 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.004028, allocations: 19.92 kB / 328 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.004198, allocations: 143.5 kB / 328.2 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-06/0.0042, allocations: 3.938 kB / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.0042, allocations: 0 / 328.2 MB, free: 4.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.915e-06/0.004203, allocations: 4 kB / 328.2 MB, free: 4.754 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000287/0.00449, allocations: 301.7 kB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.004519, allocations: 12.03 kB / 328.5 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.004548, allocations: 12.86 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.004676, allocations: 141.6 kB / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-06/0.004682, allocations: 384 / 328.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.0047, allocations: 4.375 kB / 328.6 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.0048, allocations: 94.36 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.004808, allocations: 4.188 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.004815, allocations: 4.125 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.004819, allocations: 4 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.004842, allocations: 11.92 kB / 328.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.005066, allocations: 171.1 kB / 328.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.005116, allocations: 45.39 kB / 329 MB, free: 3.871 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.00513, allocations: 8.859 kB / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.005144, allocations: 0 / 329 MB, free: 3.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.005166, allocations: 38.5 kB / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.005166, allocations: 0 / 329 MB, free: 3.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002589/0.005425, allocations: 114 kB / 329.1 MB, free: 3.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.005454, allocations: 85.11 kB / 329.2 MB, free: 3.594 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.005543, allocations: 144.3 kB / 329.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.005553, allocations: 29.7 kB / 329.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.005581, allocations: 92.08 kB / 329.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.005598, allocations: 23.78 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.005626, allocations: 25.7 kB / 329.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.005694, allocations: 322.8 kB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.00571, allocations: 10.83 kB / 329.8 MB, free: 2.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.00574, allocations: 51.39 kB / 329.9 MB, free: 2.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.005777, allocations: 35 kB / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.005778, allocations: 0 / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.794e-05/0.005856, allocations: 72.41 kB / 330 MB, free: 2.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.005867, allocations: 8 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.005873, allocations: 4 kB / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.005882, allocations: 0 / 330 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.458e-05/0.005947, allocations: 19.92 kB / 330 MB, free: 2.707 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.005951, allocations: 4 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.00597, allocations: 4 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-06/0.005976, allocations: 4 kB / 330 MB, free: 2.695 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 (9): * Single equations (assignments): 9 * 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.186e-05/0.006028, allocations: 108.7 kB / 330.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.006048, allocations: 15.92 kB / 330.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.903e-05/0.006137, allocations: 70.41 kB / 330.2 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.006141, allocations: 11.92 kB / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006142, allocations: 0 / 330.2 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.006146, allocations: 3.984 kB / 330.2 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.006348, allocations: 282.8 kB / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006349, allocations: 0 / 330.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.006383, allocations: 19.94 kB / 330.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.006386, allocations: 7.922 kB / 330.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.006389, allocations: 0 / 330.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006391, allocations: 80 / 330.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.006392, allocations: 7.984 kB / 330.6 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.534e-05/0.006468, allocations: 151.5 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.006478, allocations: 15.95 kB / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-06/0.006488, allocations: 0 / 330.7 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.204e-05/0.00652, allocations: 4 kB / 330.7 MB, free: 1.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.006542, allocations: 7.922 kB / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.006545, allocations: 0 / 330.7 MB, free: 1.945 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.006578, allocations: 42.41 kB / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006578, allocations: 0 / 330.8 MB, free: 1.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.006725, allocations: 43.86 kB / 330.8 MB, free: 1.859 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.001201/0.007926, allocations: 0.6406 MB / 331.5 MB, free: 1.539 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.245e-05/0.007999, allocations: 32.78 kB / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.008001, allocations: 0 / 331.5 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.008023, allocations: 32.7 kB / 331.5 MB, free: 1.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.008164, allocations: 31.88 kB / 331.6 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.008399, allocations: 174.9 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.334e-05/0.008432, allocations: 67.34 kB / 331.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.62e-05/0.008468, allocations: 12.66 kB / 331.8 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.013e-05/0.008559, allocations: 67.36 kB / 331.9 MB, free: 1.07 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008559, allocations: 0 / 331.9 MB, free: 1.07 MB / 298.7 MB Notification: Performance of Templates: time 0.003262/0.01182, allocations: 2.233 MB / 334.1 MB, free: 14.85 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.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.8941210699267685]