Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001703/0.001703, allocations: 73.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.002493/0.002493, allocations: 160.8 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.524/1.524, allocations: 177.2 MB / 204.9 MB, free: 8.992 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.2065/0.2065, allocations: 32.81 MB / 294.1 MB, free: 16 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76") [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.002352/0.002352, allocations: 64.14 kB / 440.6 MB, free: 9.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3366, allocations: 65.45 MB / 0.4942 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002619/0.3392, allocations: 1.73 MB / 0.4959 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3405, allocations: 0.9757 MB / 0.4969 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.3406, allocations: 0 / 0.4969 GB, free: 29.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3409, allocations: 53.05 kB / 0.4969 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.3411, allocations: 105.8 kB / 0.497 GB, free: 29.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.3413, allocations: 81.3 kB / 0.4971 GB, free: 29.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3414, allocations: 127 kB / 0.4972 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.446e-05/0.3415, allocations: 15.08 kB / 0.4972 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.3416, allocations: 60.38 kB / 0.4973 GB, free: 29.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.271e-05/0.3417, allocations: 44.94 kB / 0.4973 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3417, allocations: 10.31 kB / 0.4973 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.585e-05/0.3418, allocations: 65.11 kB / 0.4974 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.3418, allocations: 28.88 kB / 0.4974 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.3419, allocations: 36.72 kB / 0.4975 GB, free: 29.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3421, allocations: 144.3 kB / 0.4976 GB, free: 29.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3421, allocations: 0 / 0.4976 GB, free: 29.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3421, allocations: 0 / 0.4976 GB, free: 29.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.3421, allocations: 4 kB / 0.4976 GB, free: 29.21 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004292/0.3425, allocations: 376.1 kB / 0.498 GB, free: 28.88 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.3425, allocations: 9.688 kB / 0.498 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.3426, allocations: 15.41 kB / 0.498 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.3428, allocations: 167.6 kB / 0.4982 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3428, allocations: 7.531 kB / 0.4982 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3428, allocations: 11.12 kB / 0.4982 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.343, allocations: 76.88 kB / 0.4982 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.343, allocations: 0 / 0.4982 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.343, allocations: 3.094 kB / 0.4982 GB, free: 28.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.343, allocations: 4 kB / 0.4982 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3431, allocations: 53.95 kB / 0.4983 GB, free: 28.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.3434, allocations: 261.8 kB / 0.4985 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.3436, allocations: 95.05 kB / 0.4986 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.533e-05/0.3437, allocations: 32.03 kB / 0.4987 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3437, allocations: 0 / 0.4987 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.3439, allocations: 84.12 kB / 0.4988 GB, free: 28.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3439, allocations: 0 / 0.4988 GB, free: 28.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007455/0.3446, allocations: 330.7 kB / 0.4991 GB, free: 28.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.3446, allocations: 51.41 kB / 0.4991 GB, free: 28.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.3448, allocations: 212.1 kB / 0.4993 GB, free: 27.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.3448, allocations: 32.92 kB / 0.4993 GB, free: 27.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.3448, allocations: 102.4 kB / 0.4994 GB, free: 27.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3449, allocations: 52.91 kB / 0.4995 GB, free: 27.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/0.3449, allocations: 27.22 kB / 0.4995 GB, free: 27.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.345, allocations: 324.9 kB / 0.4998 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.345, allocations: 49.55 kB / 0.4999 GB, free: 27.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.3451, allocations: 69.08 kB / 0.4999 GB, free: 27.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3453, allocations: 100.5 kB / 0.5 GB, free: 27.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3453, allocations: 0 / 0.5 GB, free: 27.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002211/0.3455, allocations: 167.4 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3455, allocations: 6.312 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3455, allocations: 0 / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3455, allocations: 0 / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.3456, allocations: 26.89 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3456, allocations: 3.25 kB / 0.5002 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.3457, allocations: 10.94 kB / 0.5002 GB, free: 27.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3457, allocations: 2.938 kB / 0.5002 GB, free: 27.22 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 (15): * Single equations (assignments): 15 * 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.962e-05/0.3457, allocations: 133.8 kB / 0.5004 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.3458, allocations: 14.25 kB / 0.5004 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003076/0.3461, allocations: 199.4 kB / 0.5006 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3461, allocations: 2.969 kB / 0.5006 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3461, allocations: 0 / 0.5006 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3461, allocations: 3.938 kB / 0.5006 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.3465, allocations: 456.5 kB / 0.501 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3465, allocations: 0 / 0.501 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.3466, allocations: 22.42 kB / 0.501 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3466, allocations: 3.938 kB / 0.501 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.3466, allocations: 10.52 kB / 0.5011 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3466, allocations: 2.75 kB / 0.5011 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3466, allocations: 3.938 kB / 0.5011 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.3469, allocations: 279.7 kB / 0.5013 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.3469, allocations: 19.11 kB / 0.5013 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3469, allocations: 14.53 kB / 0.5014 GB, free: 26.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.347, allocations: 7 kB / 0.5014 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.347, allocations: 9.859 kB / 0.5014 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.347, allocations: 13.97 kB / 0.5014 GB, free: 26.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.289e-05/0.3471, allocations: 157.1 kB / 0.5015 GB, free: 26.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3471, allocations: 0 / 0.5015 GB, free: 26.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.3474, allocations: 30.31 kB / 0.5016 GB, free: 26.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.001954/0.3494, allocations: 0.5496 MB / 0.5021 GB, free: 26.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.3496, allocations: 117.4 kB / 0.5022 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3496, allocations: 0 / 0.5022 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.513e-05/0.3497, allocations: 56.28 kB / 0.5023 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.35, allocations: 30.02 kB / 0.5023 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.3505, allocations: 300.9 kB / 0.5026 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.514e-05/0.3506, allocations: 104.7 kB / 0.5027 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.3506, allocations: 32.23 kB / 0.5027 GB, free: 25.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.3507, allocations: 25.25 kB / 0.5027 GB, free: 25.71 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3507, allocations: 0 / 0.5027 GB, free: 25.71 MB / 446.1 MB Notification: Performance of Templates: time 0.004991/0.3557, allocations: 2.33 MB / 0.505 GB, free: 25.41 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.15260044997558]