Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.0008796/0.0008796, 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.001169/0.001169, allocations: 169.1 kB / 24.91 MB, free: 9.184 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.9743/0.9743, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2662/0.2662, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 323.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.177e-05, allocations: 2.312 kB / 323.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002518/0.00254, allocations: 1.676 MB / 325 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.00397, allocations: 1.293 MB / 326.3 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.00403, allocations: 4 kB / 326.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.004244, allocations: 19.86 kB / 326.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.004537, allocations: 87.48 kB / 326.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.004772, allocations: 87.64 kB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.004901, allocations: 67.83 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.297e-05/0.004984, allocations: 8 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.311e-05/0.005047, allocations: 39.83 kB / 326.6 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.00514, allocations: 15.98 kB / 326.6 MB, free: 6.355 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.005155, allocations: 7.938 kB / 326.6 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.005323, allocations: 107.8 kB / 326.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.005361, allocations: 15.92 kB / 326.7 MB, free: 6.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.272e-05/0.005384, allocations: 11.98 kB / 326.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001962/0.00558, allocations: 135.4 kB / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.005582, allocations: 0 / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.005583, allocations: 0 / 326.8 MB, free: 6.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005587, allocations: 0 / 326.8 MB, free: 6.082 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003066/0.005893, allocations: 301.5 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.005926, allocations: 12.03 kB / 327.2 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.005954, allocations: 8.922 kB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.006084, allocations: 128.1 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.006092, allocations: 4.375 kB / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.006109, allocations: 384 / 327.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.006222, allocations: 102.3 kB / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006231, allocations: 192 / 327.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.006239, allocations: 8.062 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.006243, allocations: 0 / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.006263, allocations: 7.984 kB / 327.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.006473, allocations: 159.7 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.006593, allocations: 38.48 kB / 327.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.314e-05/0.006606, allocations: 12.86 kB / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.006621, allocations: 64 / 327.6 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.006645, allocations: 38.56 kB / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.006646, allocations: 0 / 327.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002537/0.006899, allocations: 81.56 kB / 327.7 MB, free: 5.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.006938, allocations: 77.11 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.007032, allocations: 140.3 kB / 327.9 MB, free: 4.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.007044, allocations: 37.69 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.007076, allocations: 92.08 kB / 328.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.007094, allocations: 11.84 kB / 328.1 MB, free: 4.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.007122, allocations: 25.7 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.007205, allocations: 318.8 kB / 328.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.007215, allocations: 4 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.007247, allocations: 43.41 kB / 328.5 MB, free: 4.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.007282, allocations: 29.02 kB / 328.5 MB, free: 4.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.007283, allocations: 3.938 kB / 328.5 MB, free: 4.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.91e-05/0.007342, allocations: 45.62 kB / 328.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.007355, allocations: 10.34 kB / 328.6 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.00736, allocations: 3.984 kB / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.007375, allocations: 0 / 328.6 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.18e-05/0.007417, allocations: 15.98 kB / 328.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.00742, allocations: 4.031 kB / 328.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.00744, allocations: 4 kB / 328.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.007445, allocations: 0 / 328.6 MB, free: 4.164 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 (5): * Single equations (assignments): 5 * 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.06e-05/0.007506, allocations: 112.7 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.007526, allocations: 11.92 kB / 328.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.5e-05/0.007611, allocations: 58.09 kB / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007614, allocations: 0 / 328.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.007616, allocations: 3.984 kB / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.007619, allocations: 0 / 328.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.007804, allocations: 214.8 kB / 329 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.007807, allocations: 7.875 kB / 329 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.007838, allocations: 8 kB / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.00784, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-06/0.007844, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007846, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007847, allocations: 0 / 329 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.419e-05/0.007931, allocations: 152 kB / 329.1 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.007943, allocations: 15.89 kB / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.007953, allocations: 0 / 329.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.007993, allocations: 11.97 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.008014, allocations: 8 kB / 329.2 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.008018, allocations: 4 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.008051, allocations: 27.67 kB / 329.2 MB, free: 3.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008051, allocations: 3.938 kB / 329.2 MB, free: 3.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001747/0.008226, allocations: 39.86 kB / 329.2 MB, free: 3.438 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 (5): * Single equations (assignments): 5 * 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.001298/0.009524, allocations: 0.6192 MB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.14e-05/0.009595, allocations: 24.78 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.351e-06/0.009601, allocations: 4 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.009618, allocations: 16.92 kB / 329.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.009771, allocations: 31.86 kB / 329.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002567/0.01003, allocations: 162.5 kB / 330.1 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.01006, allocations: 63.34 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.495e-05/0.0101, allocations: 11.97 kB / 330.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.01016, allocations: 67.36 kB / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01016, allocations: 0 / 330.2 MB, free: 2.703 MB / 298.7 MB Notification: Performance of Templates: time 0.003336/0.01349, allocations: 1.995 MB / 332.2 MB, free: 0.7266 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.8906341092661023]