Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001724/0.001724, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002084/0.002084, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.457/1.457, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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.203/0.203, allocations: 32.8 MB / 294.1 MB, free: 20 kB / 270.1 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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 63.91 kB / 440.6 MB, free: 9.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3705, allocations: 65.45 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002929/0.3735, allocations: 1.625 MB / 0.4958 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008714/0.3743, allocations: 0.5141 MB / 0.4963 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.593e-05/0.3744, allocations: 0 / 0.4963 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.3746, allocations: 86.92 kB / 0.4963 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.375, allocations: 102.3 kB / 0.4964 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3752, allocations: 98.11 kB / 0.4965 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.3754, allocations: 88.41 kB / 0.4966 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.3755, allocations: 10.12 kB / 0.4966 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.707e-05/0.3756, allocations: 34.5 kB / 0.4967 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3757, allocations: 64.52 kB / 0.4967 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3757, allocations: 3.031 kB / 0.4967 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3758, allocations: 46.66 kB / 0.4968 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.3759, allocations: 24.22 kB / 0.4968 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.313e-05/0.3759, allocations: 22.19 kB / 0.4968 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3761, allocations: 102.4 kB / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3761, allocations: 4 kB / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3761, allocations: 0 / 0.4969 GB, free: 29.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3761, allocations: 0 / 0.4969 GB, free: 29.7 MB / 446.1 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.0004094/0.3765, allocations: 349.7 kB / 0.4972 GB, free: 29.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.3765, allocations: 9.188 kB / 0.4973 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.3766, allocations: 12.06 kB / 0.4973 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.3767, allocations: 146.2 kB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.3767, allocations: 3.312 kB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3768, allocations: 3.375 kB / 0.4974 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.3769, allocations: 56.56 kB / 0.4975 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3769, allocations: 4 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.3769, allocations: 3.984 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3769, allocations: 7.094 kB / 0.4975 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.148e-05/0.377, allocations: 26.3 kB / 0.4975 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.3773, allocations: 238.5 kB / 0.4977 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.423e-05/0.3774, allocations: 40.75 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.3775, allocations: 14.67 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3775, allocations: 3.25 kB / 0.4978 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.361e-05/0.3775, allocations: 34.5 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3775, allocations: 4 kB / 0.4978 GB, free: 28.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008202/0.3783, allocations: 229 kB / 0.498 GB, free: 28.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.3783, allocations: 51.41 kB / 0.4981 GB, free: 28.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.3785, allocations: 213.2 kB / 0.4983 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.3785, allocations: 29.7 kB / 0.4983 GB, free: 28.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.3786, allocations: 109.5 kB / 0.4984 GB, free: 28.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.3786, allocations: 30.28 kB / 0.4985 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.3786, allocations: 23.84 kB / 0.4985 GB, free: 28.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.3787, allocations: 329.3 kB / 0.4988 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.3787, allocations: 30.77 kB / 0.4988 GB, free: 28.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.3788, allocations: 19.95 kB / 0.4988 GB, free: 28.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3789, allocations: 59.77 kB / 0.4989 GB, free: 28.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3789, allocations: 4 kB / 0.4989 GB, free: 28.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001859/0.3791, allocations: 108 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3791, allocations: 6.609 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3791, allocations: 80 / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3791, allocations: 3.156 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.3792, allocations: 16.11 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3792, allocations: 3.984 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.3793, allocations: 7.156 kB / 0.499 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3793, allocations: 7.156 kB / 0.499 GB, free: 27.94 MB / 446.1 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 6.161e-05/0.3794, allocations: 127.4 kB / 0.4992 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.3794, allocations: 14.03 kB / 0.4992 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.3796, allocations: 121 kB / 0.4993 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3796, allocations: 0 / 0.4993 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3797, allocations: 0 / 0.4993 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3797, allocations: 3 kB / 0.4993 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.38, allocations: 345.2 kB / 0.4996 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.38, allocations: 2.75 kB / 0.4996 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.847e-05/0.3801, allocations: 16.38 kB / 0.4996 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3801, allocations: 3.234 kB / 0.4997 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3801, allocations: 7.25 kB / 0.4997 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3801, allocations: 3.938 kB / 0.4997 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3801, allocations: 3.938 kB / 0.4997 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.3803, allocations: 198.3 kB / 0.4999 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.59e-05/0.3803, allocations: 15.52 kB / 0.4999 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.3804, allocations: 7.453 kB / 0.4999 GB, free: 27.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.3804, allocations: 11.16 kB / 0.4999 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3805, allocations: 6.531 kB / 0.4999 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-06/0.3805, allocations: 6.875 kB / 0.4999 GB, free: 27.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.3806, allocations: 171 kB / 0.5001 GB, free: 27.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3806, allocations: 0 / 0.5001 GB, free: 27.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.3809, allocations: 16.94 kB / 0.5001 GB, free: 27.15 MB / 446.1 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.001752/0.3826, allocations: 0.4926 MB / 0.5006 GB, free: 26.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.3828, allocations: 60.47 kB / 0.5006 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3828, allocations: 0 / 0.5006 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.3829, allocations: 34.67 kB / 0.5007 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3833, allocations: 28.22 kB / 0.5007 GB, free: 26.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.3837, allocations: 262.7 kB / 0.5009 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.589e-05/0.3837, allocations: 95.45 kB / 0.501 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.433e-05/0.3838, allocations: 10.42 kB / 0.501 GB, free: 26.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.3838, allocations: 18.66 kB / 0.501 GB, free: 26.62 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3838, allocations: 0 / 0.501 GB, free: 26.62 MB / 446.1 MB Notification: Performance of Templates: time 0.004127/0.3879, allocations: 1.358 MB / 0.5024 GB, free: 26.42 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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: 5.043504056986421]