Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001675, allocations: 102.2 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 191.8 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.1 MB / 227.9 MB, free: 4.367 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4063/0.4063, allocations: 43.51 MB / 320.8 MB, free: 9.008 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002474/0.002474, allocations: 72.36 kB / 450.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3337, allocations: 57.78 MB / 0.4965 GB, free: 19.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003745/0.3375, allocations: 1.662 MB / 0.4981 GB, free: 18.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3389, allocations: 0.784 MB / 0.4988 GB, free: 17.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.303e-05/0.339, allocations: 1.094 kB / 0.4988 GB, free: 17.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.3394, allocations: 66.77 kB / 0.4989 GB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.3397, allocations: 63.8 kB / 0.499 GB, free: 17.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.3399, allocations: 83.27 kB / 0.499 GB, free: 17.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.3401, allocations: 100.8 kB / 0.4991 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.3402, allocations: 7.141 kB / 0.4991 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.801e-05/0.3403, allocations: 47.2 kB / 0.4992 GB, free: 17.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.3404, allocations: 43.88 kB / 0.4992 GB, free: 17.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.3404, allocations: 2.406 kB / 0.4992 GB, free: 17.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.3405, allocations: 39.28 kB / 0.4993 GB, free: 17.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.087e-05/0.3406, allocations: 18.95 kB / 0.4993 GB, free: 17.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.3407, allocations: 27.06 kB / 0.4993 GB, free: 17.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.3409, allocations: 102.5 kB / 0.4994 GB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3409, allocations: 1.312 kB / 0.4994 GB, free: 17.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3409, allocations: 0 / 0.4994 GB, free: 17.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3409, allocations: 0 / 0.4994 GB, free: 17.38 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006227/0.3416, allocations: 405.3 kB / 0.4998 GB, free: 16.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.3416, allocations: 18.27 kB / 0.4998 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.3417, allocations: 13.88 kB / 0.4998 GB, free: 16.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.3419, allocations: 217.2 kB / 0.5 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.342, allocations: 1.688 kB / 0.5 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.342, allocations: 6.438 kB / 0.5001 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.3421, allocations: 50.64 kB / 0.5001 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3422, allocations: 0 / 0.5001 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3422, allocations: 1.469 kB / 0.5001 GB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3422, allocations: 4 kB / 0.5001 GB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.3423, allocations: 16.48 kB / 0.5001 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001808/0.3425, allocations: 178.2 kB / 0.5003 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.3427, allocations: 50.62 kB / 0.5003 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.3427, allocations: 24.75 kB / 0.5004 GB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.3428, allocations: 9.047 kB / 0.5004 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.3429, allocations: 64.39 kB / 0.5004 GB, free: 16.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3429, allocations: 1.188 kB / 0.5004 GB, free: 16.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003607/0.3433, allocations: 94.16 kB / 0.5005 GB, free: 16.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3433, allocations: 52.47 kB / 0.5006 GB, free: 16.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.3436, allocations: 185.4 kB / 0.5008 GB, free: 16.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3436, allocations: 30.67 kB / 0.5008 GB, free: 16.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.3436, allocations: 104.8 kB / 0.5009 GB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.3437, allocations: 10.2 kB / 0.5009 GB, free: 15.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.3437, allocations: 19.91 kB / 0.5009 GB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.314e-05/0.3438, allocations: 325.4 kB / 0.5012 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.43e-05/0.3439, allocations: 15.67 kB / 0.5012 GB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.3439, allocations: 27.64 kB / 0.5013 GB, free: 15.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.05e-05/0.344, allocations: 47.12 kB / 0.5013 GB, free: 15.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3441, allocations: 0 / 0.5013 GB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/0.3442, allocations: 87.52 kB / 0.5014 GB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3442, allocations: 4.812 kB / 0.5014 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3443, allocations: 1.062 kB / 0.5014 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3443, allocations: 1.094 kB / 0.5014 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.3444, allocations: 12.91 kB / 0.5014 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3444, allocations: 1.125 kB / 0.5014 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.3444, allocations: 6.156 kB / 0.5014 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3445, allocations: 10.23 kB / 0.5014 GB, free: 15.41 MB / 382.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 (7): * Single equations (assignments): 7 * 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 0.0001018/0.3446, allocations: 130 kB / 0.5015 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.3446, allocations: 12.2 kB / 0.5016 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.013e-05/0.3447, allocations: 16.55 kB / 0.5016 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3447, allocations: 1.062 kB / 0.5016 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3447, allocations: 1.062 kB / 0.5016 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3447, allocations: 0 / 0.5016 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.3448, allocations: 188.3 kB / 0.5018 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3448, allocations: 0 / 0.5018 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.3449, allocations: 7.562 kB / 0.5018 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3449, allocations: 1.031 kB / 0.5018 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.3449, allocations: 8.891 kB / 0.5018 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3449, allocations: 0 / 0.5018 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3449, allocations: 1.062 kB / 0.5018 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.3451, allocations: 109.2 kB / 0.5019 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.025e-05/0.3451, allocations: 83.38 kB / 0.502 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.3452, allocations: 5.156 kB / 0.502 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.3452, allocations: 5.188 kB / 0.502 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/0.3453, allocations: 6.328 kB / 0.502 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.3453, allocations: 2.375 kB / 0.502 GB, free: 14.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.3454, allocations: 141.2 kB / 0.5021 GB, free: 14.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3454, allocations: 0 / 0.5021 GB, free: 14.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3457, allocations: 25.08 kB / 0.5021 GB, free: 14.71 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001518/0.3472, allocations: 421.5 kB / 0.5025 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.3474, allocations: 52.11 kB / 0.5026 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3474, allocations: 0 / 0.5026 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.3475, allocations: 15.59 kB / 0.5026 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.3477, allocations: 31.95 kB / 0.5026 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003949/0.3481, allocations: 192.6 kB / 0.5028 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3483, allocations: 0.7052 MB / 0.5035 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.793e-05/0.3484, allocations: 20.53 kB / 0.5035 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.3484, allocations: 13.12 kB / 0.5035 GB, free: 13.44 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3484, allocations: 0 / 0.5035 GB, free: 13.44 MB / 382.1 MB Notification: Performance of Templates: time 0.004745/0.3532, allocations: 1.465 MB / 0.505 GB, free: 12.69 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.60134616587311]