Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001466/0.001466, allocations: 73.33 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.001461/0.001461, allocations: 159.5 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.444/1.444, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2063/0.2063, allocations: 34.28 MB / 295.5 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 79.86 kB / 443.2 MB, free: 6.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3461, allocations: 65.99 MB / 0.4973 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003202/0.3493, allocations: 1.727 MB / 0.499 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.3508, allocations: 0.9743 MB / 0.4999 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.3509, allocations: 0 / 0.4999 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.3512, allocations: 53.52 kB / 0.5 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.3515, allocations: 102.4 kB / 0.5001 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.3516, allocations: 76.52 kB / 0.5002 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.3518, allocations: 114.4 kB / 0.5003 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3519, allocations: 3.719 kB / 0.5003 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.318e-05/0.352, allocations: 43.23 kB / 0.5003 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.3521, allocations: 36.72 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3521, allocations: 6.625 kB / 0.5003 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.83e-05/0.3522, allocations: 37.38 kB / 0.5004 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.962e-05/0.3522, allocations: 35.91 kB / 0.5004 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.3523, allocations: 32.84 kB / 0.5004 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3525, allocations: 143.3 kB / 0.5006 GB, free: 27.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3525, allocations: 0 / 0.5006 GB, free: 27.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3525, allocations: 4 kB / 0.5006 GB, free: 27.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3525, allocations: 0 / 0.5006 GB, free: 27.76 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000533/0.3531, allocations: 377.9 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3531, allocations: 10 kB / 0.501 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.3532, allocations: 19.09 kB / 0.501 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.3534, allocations: 167.2 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3534, allocations: 15.59 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.3534, allocations: 4.125 kB / 0.5012 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.3536, allocations: 56.38 kB / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3536, allocations: 0 / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3536, allocations: 4 kB / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3536, allocations: 0 / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.453e-05/0.3537, allocations: 23.27 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.354, allocations: 246.9 kB / 0.5015 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3542, allocations: 55.23 kB / 0.5015 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.3542, allocations: 21.38 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3542, allocations: 3.031 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001322/0.3544, allocations: 69.17 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3544, allocations: 4 kB / 0.5016 GB, free: 26.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005483/0.3549, allocations: 188.8 kB / 0.5018 GB, free: 26.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.355, allocations: 51.41 kB / 0.5018 GB, free: 26.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.3552, allocations: 288.2 kB / 0.5021 GB, free: 26.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.3552, allocations: 29.7 kB / 0.5021 GB, free: 26.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.3552, allocations: 128.2 kB / 0.5023 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.3553, allocations: 18.8 kB / 0.5023 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3553, allocations: 23.34 kB / 0.5023 GB, free: 26.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.473e-05/0.3554, allocations: 332.4 kB / 0.5026 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.3554, allocations: 24.03 kB / 0.5026 GB, free: 26.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.249e-05/0.3555, allocations: 48.39 kB / 0.5027 GB, free: 26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.3556, allocations: 57.86 kB / 0.5028 GB, free: 25.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3556, allocations: 0 / 0.5028 GB, free: 25.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001647/0.3558, allocations: 115.6 kB / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3558, allocations: 3.219 kB / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3558, allocations: 384 / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.3558, allocations: 3.281 kB / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.45e-05/0.3559, allocations: 12.59 kB / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3559, allocations: 7.547 kB / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.3559, allocations: 7.344 kB / 0.5029 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3559, allocations: 7.25 kB / 0.5029 GB, free: 25.88 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 (10): * Single equations (assignments): 10 * 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.377e-05/0.356, allocations: 145.6 kB / 0.503 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.3561, allocations: 14.34 kB / 0.5031 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3563, allocations: 130.9 kB / 0.5032 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3563, allocations: 0 / 0.5032 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3563, allocations: 0 / 0.5032 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3563, allocations: 0 / 0.5032 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.3566, allocations: 372.8 kB / 0.5035 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3566, allocations: 0 / 0.5035 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.3567, allocations: 9.656 kB / 0.5035 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3567, allocations: 0 / 0.5035 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3567, allocations: 6.672 kB / 0.5035 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3567, allocations: 0 / 0.5035 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3567, allocations: 3.938 kB / 0.5036 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.3569, allocations: 223.3 kB / 0.5038 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.3569, allocations: 14.53 kB / 0.5038 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3569, allocations: 0 / 0.5038 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.357, allocations: 11.16 kB / 0.5038 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3571, allocations: 10.7 kB / 0.5038 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3571, allocations: 3.188 kB / 0.5038 GB, free: 25.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.3572, allocations: 218 kB / 0.504 GB, free: 25.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3572, allocations: 0 / 0.504 GB, free: 25.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3575, allocations: 26.02 kB / 0.504 GB, free: 25.05 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 (9): * Single equations (assignments): 7 * 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.001745/0.3592, allocations: 0.4976 MB / 0.5045 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.3594, allocations: 61.41 kB / 0.5046 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3594, allocations: 0 / 0.5046 GB, free: 24.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.3595, allocations: 33.64 kB / 0.5046 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3598, allocations: 29.64 kB / 0.5046 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.3603, allocations: 321.1 kB / 0.5049 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.695e-05/0.3603, allocations: 110.3 kB / 0.5051 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.452e-05/0.3604, allocations: 14.05 kB / 0.5051 GB, free: 24.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.427e-05/0.3604, allocations: 29.09 kB / 0.5051 GB, free: 24.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3604, allocations: 0 / 0.5051 GB, free: 24.48 MB / 446.1 MB Notification: Performance of Templates: time 0.004518/0.3649, allocations: 1.844 MB / 0.5069 GB, free: 24.24 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.861262449994683]