Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001425/0.001425, 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.001378/0.001378, allocations: 169.5 kB / 24.5 MB, free: 3.453 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 9.035 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.2055/0.2055, allocations: 32.81 MB / 294.1 MB, free: 40 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [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.002087/0.002087, allocations: 71.91 kB / 440.6 MB, free: 9.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3245, allocations: 65.44 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002843/0.3273, allocations: 1.904 MB / 0.4961 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.3287, allocations: 1.016 MB / 0.4971 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3288, allocations: 0 / 0.4971 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.3291, allocations: 48.14 kB / 0.4971 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.3294, allocations: 97.05 kB / 0.4972 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.3296, allocations: 97.47 kB / 0.4973 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.3298, allocations: 148.9 kB / 0.4974 GB, free: 29.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3299, allocations: 23.28 kB / 0.4975 GB, free: 29.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.33, allocations: 60.88 kB / 0.4975 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.3301, allocations: 50.66 kB / 0.4976 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3301, allocations: 6.219 kB / 0.4976 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.894e-05/0.3302, allocations: 50.69 kB / 0.4976 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.3302, allocations: 25.31 kB / 0.4976 GB, free: 29.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.3303, allocations: 39.66 kB / 0.4977 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3305, allocations: 154.9 kB / 0.4978 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3305, allocations: 0 / 0.4978 GB, free: 29.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3305, allocations: 0 / 0.4978 GB, free: 29.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3305, allocations: 0 / 0.4978 GB, free: 29.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005836/0.3311, allocations: 427 kB / 0.4982 GB, free: 28.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3311, allocations: 9.625 kB / 0.4982 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.3312, allocations: 15.41 kB / 0.4983 GB, free: 28.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3315, allocations: 173 kB / 0.4984 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3315, allocations: 6.516 kB / 0.4984 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.3315, allocations: 14.59 kB / 0.4984 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3317, allocations: 131.2 kB / 0.4986 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3317, allocations: 0 / 0.4986 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3317, allocations: 7.375 kB / 0.4986 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3317, allocations: 7.312 kB / 0.4986 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3319, allocations: 48.05 kB / 0.4986 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.3323, allocations: 451.5 kB / 0.4991 GB, free: 27.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.3326, allocations: 87.73 kB / 0.4991 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.3327, allocations: 38.25 kB / 0.4992 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.3327, allocations: 0 / 0.4992 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.3329, allocations: 115.4 kB / 0.4993 GB, free: 27.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3329, allocations: 0 / 0.4993 GB, free: 27.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003765/0.3333, allocations: 145.8 kB / 0.4994 GB, free: 27.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.3333, allocations: 58.38 kB / 0.4995 GB, free: 27.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.3334, allocations: 216.3 kB / 0.4997 GB, free: 27.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3335, allocations: 25.7 kB / 0.4997 GB, free: 27.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.3335, allocations: 113.9 kB / 0.4998 GB, free: 27.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.3335, allocations: 34.36 kB / 0.4999 GB, free: 27.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.3336, allocations: 31.06 kB / 0.4999 GB, free: 27.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.3336, allocations: 332.1 kB / 0.5002 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.3337, allocations: 22.53 kB / 0.5002 GB, free: 27.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.854e-05/0.3338, allocations: 68.48 kB / 0.5003 GB, free: 26.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.334, allocations: 106.9 kB / 0.5004 GB, free: 26.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.334, allocations: 4 kB / 0.5004 GB, free: 26.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002367/0.3342, allocations: 133.4 kB / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3342, allocations: 6.438 kB / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3342, allocations: 3.375 kB / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3342, allocations: 0 / 0.5005 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.3343, allocations: 22.88 kB / 0.5006 GB, free: 26.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.3343, allocations: 7.875 kB / 0.5006 GB, free: 26.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.692e-05/0.3344, allocations: 17.77 kB / 0.5006 GB, free: 26.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.3344, allocations: 7.25 kB / 0.5006 GB, free: 26.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.243e-05/0.3345, allocations: 133.9 kB / 0.5007 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.3345, allocations: 17.58 kB / 0.5007 GB, free: 26.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.3348, allocations: 134.2 kB / 0.5009 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3348, allocations: 3.062 kB / 0.5009 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3348, allocations: 3.938 kB / 0.5009 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3348, allocations: 0 / 0.5009 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.3349, allocations: 145.1 kB / 0.501 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3349, allocations: 0 / 0.501 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.335, allocations: 21.2 kB / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.335, allocations: 3.938 kB / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.335, allocations: 3.031 kB / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.335, allocations: 0 / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.335, allocations: 0 / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.3354, allocations: 201.8 kB / 0.5012 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.277e-05/0.3354, allocations: 18.25 kB / 0.5012 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.3354, allocations: 0 / 0.5012 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.3355, allocations: 10.52 kB / 0.5012 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.3355, allocations: 10.34 kB / 0.5013 GB, free: 26.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3355, allocations: 7.094 kB / 0.5013 GB, free: 26.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.3356, allocations: 152 kB / 0.5014 GB, free: 26.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3356, allocations: 0 / 0.5014 GB, free: 26.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3359, allocations: 26.47 kB / 0.5014 GB, free: 26.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001544/0.3374, allocations: 437.3 kB / 0.5019 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.3377, allocations: 87.98 kB / 0.5019 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3377, allocations: 0 / 0.5019 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.945e-05/0.3377, allocations: 37.02 kB / 0.502 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.338, allocations: 41.7 kB / 0.502 GB, free: 25.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.3385, allocations: 283.3 kB / 0.5023 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.545e-05/0.3386, allocations: 111.7 kB / 0.5024 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.909e-05/0.3386, allocations: 18.03 kB / 0.5024 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.3387, allocations: 18.06 kB / 0.5024 GB, free: 25.65 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3387, allocations: 0 / 0.5024 GB, free: 25.65 MB / 446.1 MB Notification: Performance of Templates: time 0.004863/0.3435, allocations: 2.029 MB / 0.5044 GB, free: 25.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.884927089093253]