Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001749/0.001749, allocations: 71.75 kB / 21.24 MB, free: 404 kB / 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.002174/0.002174, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.492/1.492, allocations: 177.2 MB / 204.9 MB, free: 8.926 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.2093/0.2093, allocations: 32.81 MB / 294.1 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 179] 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [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.002093/0.002093, allocations: 72.19 kB / 440.6 MB, free: 9.445 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3668, allocations: 65.44 MB / 0.4942 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.00282/0.3696, allocations: 1.603 MB / 0.4957 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.3706, allocations: 0.5126 MB / 0.4962 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.3706, allocations: 3.156 kB / 0.4962 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.3708, allocations: 21.84 kB / 0.4963 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.3711, allocations: 82.91 kB / 0.4963 GB, free: 29.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.3713, allocations: 92.98 kB / 0.4964 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3715, allocations: 65.97 kB / 0.4965 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3716, allocations: 3 kB / 0.4965 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.3716, allocations: 28.48 kB / 0.4965 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.3717, allocations: 25.39 kB / 0.4965 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.3717, allocations: 6.781 kB / 0.4965 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.3718, allocations: 33.34 kB / 0.4966 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.3719, allocations: 13.92 kB / 0.4966 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.732e-05/0.3719, allocations: 14.72 kB / 0.4966 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3721, allocations: 82.73 kB / 0.4967 GB, free: 29.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3721, allocations: 0 / 0.4967 GB, free: 29.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3721, allocations: 3.938 kB / 0.4967 GB, free: 29.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3721, allocations: 0 / 0.4967 GB, free: 29.74 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003979/0.3725, allocations: 311.2 kB / 0.497 GB, free: 29.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.3725, allocations: 9.781 kB / 0.497 GB, free: 29.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.3726, allocations: 11.8 kB / 0.497 GB, free: 29.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.3727, allocations: 131.1 kB / 0.4971 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3727, allocations: 4.375 kB / 0.4971 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3727, allocations: 3.625 kB / 0.4971 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.3729, allocations: 49.81 kB / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3729, allocations: 3.938 kB / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3729, allocations: 0 / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3729, allocations: 3.062 kB / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.584e-05/0.373, allocations: 31.48 kB / 0.4972 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.3733, allocations: 225.2 kB / 0.4974 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.3735, allocations: 41.31 kB / 0.4975 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.3735, allocations: 18.55 kB / 0.4975 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.3735, allocations: 3.938 kB / 0.4975 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3736, allocations: 33.78 kB / 0.4975 GB, free: 28.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3736, allocations: 0 / 0.4975 GB, free: 28.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005154/0.3741, allocations: 139.1 kB / 0.4977 GB, free: 28.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.3741, allocations: 58.47 kB / 0.4977 GB, free: 28.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3742, allocations: 152.8 kB / 0.4979 GB, free: 28.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3743, allocations: 25.7 kB / 0.4979 GB, free: 28.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.3743, allocations: 91.33 kB / 0.498 GB, free: 28.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.3743, allocations: 26.34 kB / 0.498 GB, free: 28.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.3744, allocations: 12.66 kB / 0.498 GB, free: 28.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.3744, allocations: 325.1 kB / 0.4983 GB, free: 28.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.3745, allocations: 19.45 kB / 0.4983 GB, free: 28.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/0.3745, allocations: 16.67 kB / 0.4984 GB, free: 28.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3746, allocations: 47.27 kB / 0.4984 GB, free: 28.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3747, allocations: 0 / 0.4984 GB, free: 28.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001527/0.3748, allocations: 89.11 kB / 0.4985 GB, free: 28.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3748, allocations: 3.188 kB / 0.4985 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3748, allocations: 4.062 kB / 0.4985 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3748, allocations: 3.125 kB / 0.4985 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.28e-05/0.3749, allocations: 13.11 kB / 0.4985 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3749, allocations: 0 / 0.4985 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.748e-05/0.3749, allocations: 10.52 kB / 0.4985 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.3749, allocations: 0 / 0.4985 GB, free: 28.12 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 (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 5.944e-05/0.375, allocations: 120.5 kB / 0.4986 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.375, allocations: 6.953 kB / 0.4986 GB, free: 28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.3752, allocations: 96.78 kB / 0.4987 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3752, allocations: 0 / 0.4987 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3752, allocations: 0 / 0.4987 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3752, allocations: 3.938 kB / 0.4987 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.3755, allocations: 291.1 kB / 0.499 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3755, allocations: 0 / 0.499 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.3756, allocations: 13.06 kB / 0.499 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3756, allocations: 0 / 0.499 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3756, allocations: 3.938 kB / 0.499 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3756, allocations: 3.344 kB / 0.499 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3756, allocations: 0 / 0.499 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.3758, allocations: 176.8 kB / 0.4992 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.3758, allocations: 14.75 kB / 0.4992 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.3758, allocations: 4.219 kB / 0.4992 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.3759, allocations: 3.312 kB / 0.4992 GB, free: 27.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.3759, allocations: 10.47 kB / 0.4992 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.3759, allocations: 7.938 kB / 0.4992 GB, free: 27.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.376, allocations: 115.8 kB / 0.4993 GB, free: 27.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.376, allocations: 0 / 0.4993 GB, free: 27.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3762, allocations: 17.72 kB / 0.4994 GB, free: 27.41 MB / 446.1 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.001568/0.3778, allocations: 428.8 kB / 0.4998 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.378, allocations: 54.08 kB / 0.4998 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.378, allocations: 0 / 0.4998 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.378, allocations: 22.86 kB / 0.4998 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3784, allocations: 24.67 kB / 0.4999 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.3788, allocations: 188.2 kB / 0.5001 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.457e-05/0.3789, allocations: 82.8 kB / 0.5001 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.013e-05/0.3789, allocations: 17.64 kB / 0.5001 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.3789, allocations: 18.91 kB / 0.5002 GB, free: 26.93 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3789, allocations: 0 / 0.5002 GB, free: 26.93 MB / 446.1 MB Notification: Performance of Templates: time 0.003738/0.3827, allocations: 1.121 MB / 0.5013 GB, free: 26.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0003108870005235]