Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.001274/0.001274, allocations: 74.11 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.001411/0.001411, allocations: 159.3 kB / 24.5 MB, free: 3.715 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.467/1.467, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.2109/0.2109, allocations: 32.8 MB / 294.1 MB, free: 24 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.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50") [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.00216/0.00216, allocations: 64.19 kB / 440.6 MB, free: 9.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3464, allocations: 65.45 MB / 0.4942 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002671/0.3491, allocations: 1.725 MB / 0.4959 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.351, allocations: 1.662 MB / 0.4975 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.984e-05/0.3511, allocations: 3.188 kB / 0.4975 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002649/0.3514, allocations: 32.16 kB / 0.4976 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002887/0.3517, allocations: 105.1 kB / 0.4977 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.3518, allocations: 76.52 kB / 0.4977 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.352, allocations: 125 kB / 0.4979 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3521, allocations: 3.969 kB / 0.4979 GB, free: 28.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.166e-05/0.3522, allocations: 49.44 kB / 0.4979 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3523, allocations: 46.11 kB / 0.4979 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3523, allocations: 6.375 kB / 0.498 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3525, allocations: 109.5 kB / 0.4981 GB, free: 28.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.3525, allocations: 21.88 kB / 0.4981 GB, free: 28.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.3526, allocations: 32.7 kB / 0.4981 GB, free: 28.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.3528, allocations: 177.2 kB / 0.4983 GB, free: 28.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3528, allocations: 3.25 kB / 0.4983 GB, free: 28.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3528, allocations: 4 kB / 0.4983 GB, free: 28.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.3528, allocations: 0 / 0.4983 GB, free: 28.72 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.0004585/0.3533, allocations: 361.6 kB / 0.4986 GB, free: 28.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.3533, allocations: 6.781 kB / 0.4986 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.3533, allocations: 11.67 kB / 0.4986 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.3536, allocations: 156 kB / 0.4988 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3536, allocations: 4.375 kB / 0.4988 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.3536, allocations: 15.36 kB / 0.4988 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.3538, allocations: 109.9 kB / 0.4989 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3538, allocations: 7.953 kB / 0.4989 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3538, allocations: 6.469 kB / 0.4989 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3538, allocations: 0 / 0.4989 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.304e-05/0.3539, allocations: 33.48 kB / 0.499 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.3542, allocations: 237.3 kB / 0.4992 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3544, allocations: 75.58 kB / 0.4993 GB, free: 27.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.3544, allocations: 23.97 kB / 0.4993 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.3544, allocations: 0 / 0.4993 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.3546, allocations: 76.27 kB / 0.4994 GB, free: 27.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3546, allocations: 4 kB / 0.4994 GB, free: 27.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005471/0.3551, allocations: 215.4 kB / 0.4996 GB, free: 27.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.3551, allocations: 77.11 kB / 0.4996 GB, free: 27.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3553, allocations: 179 kB / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3553, allocations: 36.16 kB / 0.4998 GB, free: 27.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.3553, allocations: 95.14 kB / 0.4999 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3553, allocations: 34.44 kB / 0.5 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.3554, allocations: 26.38 kB / 0.5 GB, free: 27.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.3554, allocations: 325.3 kB / 0.5003 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.3555, allocations: 38.16 kB / 0.5003 GB, free: 26.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.3556, allocations: 70.17 kB / 0.5004 GB, free: 26.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.3557, allocations: 74.84 kB / 0.5005 GB, free: 26.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3557, allocations: 0 / 0.5005 GB, free: 26.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000213/0.3559, allocations: 126.9 kB / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.3559, allocations: 6.344 kB / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3559, allocations: 0 / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3559, allocations: 3.25 kB / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.356, allocations: 16.5 kB / 0.5006 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.356, allocations: 8 kB / 0.5006 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.3561, allocations: 10.56 kB / 0.5006 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.3561, allocations: 3.094 kB / 0.5006 GB, free: 26.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.357e-05/0.3561, allocations: 123.8 kB / 0.5008 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.3562, allocations: 7.234 kB / 0.5008 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.3564, allocations: 145.2 kB / 0.5009 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3564, allocations: 0 / 0.5009 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3564, allocations: 3.219 kB / 0.5009 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3564, allocations: 0 / 0.5009 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.3568, allocations: 379.9 kB / 0.5013 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3568, allocations: 0 / 0.5013 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.904e-05/0.3568, allocations: 19.88 kB / 0.5013 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3568, allocations: 0 / 0.5013 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3569, allocations: 7.281 kB / 0.5013 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3569, allocations: 3.984 kB / 0.5013 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3569, allocations: 3.938 kB / 0.5013 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/0.3571, allocations: 229.5 kB / 0.5015 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.061e-05/0.3571, allocations: 15 kB / 0.5015 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.3571, allocations: 2.938 kB / 0.5015 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.133e-05/0.3572, allocations: 10.34 kB / 0.5016 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3572, allocations: 18.31 kB / 0.5016 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3573, allocations: 6.125 kB / 0.5016 GB, free: 26.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.578e-05/0.3573, allocations: 136.4 kB / 0.5017 GB, free: 25.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3573, allocations: 0 / 0.5017 GB, free: 25.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.3576, allocations: 47.41 kB / 0.5018 GB, free: 25.93 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002022/0.3597, allocations: 0.5892 MB / 0.5023 GB, free: 25.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3599, allocations: 79.14 kB / 0.5024 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3599, allocations: 0 / 0.5024 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.36, allocations: 37.91 kB / 0.5024 GB, free: 25.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3603, allocations: 44.59 kB / 0.5025 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.3607, allocations: 236.2 kB / 0.5027 GB, free: 25.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.787e-05/0.3607, allocations: 92.3 kB / 0.5028 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.3608, allocations: 16.89 kB / 0.5028 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.546e-05/0.3608, allocations: 29.61 kB / 0.5028 GB, free: 25.36 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3608, allocations: 0 / 0.5028 GB, free: 25.36 MB / 446.1 MB Notification: Performance of Templates: time 0.005372/0.3662, allocations: 2.627 MB / 0.5054 GB, free: 25.01 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.032448826008476]