Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.00195/0.00195, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00194/0.00194, allocations: 165.3 kB / 24.27 MB, free: 160 kB / 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 1.598/1.598, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3858/0.3858, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.241e-05, allocations: 6.312 kB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003571/0.003603, allocations: 1.607 MB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.005998, allocations: 1.255 MB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.006063, allocations: 4 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.006353, allocations: 23.84 kB / 380.2 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.006747, allocations: 83.55 kB / 380.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.007064, allocations: 99.56 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.007251, allocations: 63.84 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.007358, allocations: 7.984 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.537e-05/0.007453, allocations: 35.91 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.007623, allocations: 35.36 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.007647, allocations: 4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.007831, allocations: 83.88 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.331e-05/0.007895, allocations: 19.94 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.007936, allocations: 19.91 kB / 380.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.00825, allocations: 139.5 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.008255, allocations: 0 / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.008257, allocations: 0 / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.008264, allocations: 0 / 380.8 MB, free: 15.47 MB / 362.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.0006309/0.008894, allocations: 431.6 kB / 381.2 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.008938, allocations: 8.031 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.178e-05/0.009, allocations: 8.891 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.009249, allocations: 144.5 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.00926, allocations: 384 / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.009286, allocations: 8.375 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.009488, allocations: 95.27 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.009499, allocations: 192 / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.009512, allocations: 4.125 kB / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.009517, allocations: 0 / 381.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.009607, allocations: 19.98 kB / 381.5 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.01006, allocations: 279.8 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.0103, allocations: 50.98 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.01036, allocations: 23.77 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.01038, allocations: 11.94 kB / 381.8 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.01042, allocations: 33.39 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.01042, allocations: 3.938 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000594/0.01101, allocations: 125.4 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.584e-05/0.01109, allocations: 89.09 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.0113, allocations: 205.8 kB / 382.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.01132, allocations: 29.7 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.01142, allocations: 138.9 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.01145, allocations: 15.89 kB / 382.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.0115, allocations: 31.38 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002909/0.01179, allocations: 0.4923 MB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.01185, allocations: 8 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.01196, allocations: 69.12 kB / 383.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.01208, allocations: 43.61 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01208, allocations: 0 / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001806/0.01226, allocations: 77.56 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.01228, allocations: 8 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01229, allocations: 4.031 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.0123, allocations: 0 / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.01237, allocations: 15.98 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.01237, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.01242, allocations: 7.938 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.01243, allocations: 0 / 383.2 MB, free: 12.79 MB / 362.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 0.000135/0.01256, allocations: 164.5 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.0126, allocations: 11.89 kB / 383.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.01285, allocations: 90.06 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01286, allocations: 4 kB / 383.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.01286, allocations: 4 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.01287, allocations: 0 / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.01335, allocations: 345.6 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.01336, allocations: 4.312 kB / 383.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.01341, allocations: 8 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.01341, allocations: 4 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01342, allocations: 4 kB / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01342, allocations: 0 / 383.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.01343, allocations: 3.984 kB / 383.8 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.01371, allocations: 231.8 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.01374, allocations: 15.89 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.01376, allocations: 3.984 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.727e-05/0.01383, allocations: 4 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.01387, allocations: 3.938 kB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.01387, allocations: 0 / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.01401, allocations: 165.2 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01401, allocations: 0 / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.0143, allocations: 39.86 kB / 384.3 MB, free: 11.63 MB / 362.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.003326/0.01763, allocations: 0.5134 MB / 384.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.01785, allocations: 51.66 kB / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01785, allocations: 0 / 384.9 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.01794, allocations: 31.61 kB / 384.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.01826, allocations: 27.86 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.01877, allocations: 181.9 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.475e-05/0.01887, allocations: 73.77 kB / 385.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.01893, allocations: 24.22 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.01899, allocations: 20.5 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01899, allocations: 0 / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Templates: time 0.006016/0.025, allocations: 1.815 MB / 387 MB, free: 9.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.992388950078748]