Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001752/0.001752, allocations: 71.75 kB / 21.24 MB, free: 400 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.001507/0.001507, allocations: 169.2 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.426/1.426, allocations: 177.2 MB / 204.9 MB, free: 9.047 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.2149/0.2149, allocations: 32.81 MB / 294.1 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 179] 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") [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.002116/0.002116, allocations: 67.89 kB / 440.6 MB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3458, allocations: 65.44 MB / 0.4942 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002667/0.3485, allocations: 1.787 MB / 0.4959 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.35, allocations: 1.045 MB / 0.497 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.35, allocations: 7.062 kB / 0.497 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.3505, allocations: 308.7 kB / 0.4973 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.3509, allocations: 260.9 kB / 0.4975 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.351, allocations: 106.8 kB / 0.4976 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.3513, allocations: 259.8 kB / 0.4979 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.3513, allocations: 8.594 kB / 0.4979 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3515, allocations: 138.1 kB / 0.498 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.3517, allocations: 215.8 kB / 0.4982 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3517, allocations: 12.94 kB / 0.4982 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.499e-05/0.3518, allocations: 49.14 kB / 0.4983 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.3519, allocations: 143.3 kB / 0.4984 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.872e-05/0.352, allocations: 109.4 kB / 0.4985 GB, free: 29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.3523, allocations: 381.9 kB / 0.4989 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3524, allocations: 3.422 kB / 0.4989 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3524, allocations: 0 / 0.4989 GB, free: 28.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3524, allocations: 0 / 0.4989 GB, free: 28.86 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007657/0.3531, allocations: 0.6865 MB / 0.4995 GB, free: 28.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3532, allocations: 9.219 kB / 0.4996 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.3532, allocations: 55.05 kB / 0.4996 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.3537, allocations: 386.8 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.3537, allocations: 7.656 kB / 0.5 GB, free: 28.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.3537, allocations: 7.094 kB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.3539, allocations: 90.75 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3539, allocations: 3.312 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3539, allocations: 3.281 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3539, allocations: 3.938 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.354, allocations: 33.88 kB / 0.5001 GB, free: 27.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/0.3543, allocations: 314.7 kB / 0.5004 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.3545, allocations: 110.7 kB / 0.5005 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.3546, allocations: 37.12 kB / 0.5006 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.3546, allocations: 3.984 kB / 0.5006 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.3548, allocations: 118.2 kB / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.3548, allocations: 0 / 0.5007 GB, free: 27.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004292/0.3553, allocations: 210.7 kB / 0.5009 GB, free: 27.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.3553, allocations: 84.05 kB / 0.501 GB, free: 27.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.3562, allocations: 1.061 MB / 0.502 GB, free: 27.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3562, allocations: 29.7 kB / 0.502 GB, free: 26.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3563, allocations: 239.4 kB / 0.5023 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.3563, allocations: 30.3 kB / 0.5023 GB, free: 26.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.3564, allocations: 27.19 kB / 0.5023 GB, free: 26.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.3564, allocations: 367 kB / 0.5027 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.3565, allocations: 41.03 kB / 0.5027 GB, free: 26.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.3566, allocations: 57.64 kB / 0.5027 GB, free: 26.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3568, allocations: 92.28 kB / 0.5028 GB, free: 26.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3568, allocations: 0 / 0.5028 GB, free: 26.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002598/0.357, allocations: 186.2 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.357, allocations: 5.375 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.357, allocations: 0 / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3571, allocations: 2.719 kB / 0.503 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3572, allocations: 24.05 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3572, allocations: 2.75 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.245e-05/0.3573, allocations: 13.44 kB / 0.5031 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3573, allocations: 6.078 kB / 0.5031 GB, free: 26.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0001659/0.3574, allocations: 224.9 kB / 0.5033 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.3575, allocations: 58.88 kB / 0.5033 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.3578, allocations: 209.7 kB / 0.5035 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3578, allocations: 3.156 kB / 0.5035 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3578, allocations: 0 / 0.5035 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3578, allocations: 7.938 kB / 0.5035 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.358, allocations: 266.2 kB / 0.5038 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.358, allocations: 0 / 0.5038 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.3581, allocations: 17.2 kB / 0.5038 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.3581, allocations: 3.938 kB / 0.5038 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.3581, allocations: 7.125 kB / 0.5038 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3581, allocations: 0 / 0.5038 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3581, allocations: 3.188 kB / 0.5038 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002805/0.3584, allocations: 220 kB / 0.504 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.915e-05/0.3585, allocations: 67.67 kB / 0.5041 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.3585, allocations: 11.19 kB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.3586, allocations: 6.109 kB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.3587, allocations: 13.97 kB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3587, allocations: 3.125 kB / 0.5041 GB, free: 25.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006487/0.3593, allocations: 0.7912 MB / 0.5049 GB, free: 25.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3593, allocations: 0 / 0.5049 GB, free: 25.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.3596, allocations: 41.72 kB / 0.505 GB, free: 25.26 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001562/0.3611, allocations: 452.5 kB / 0.5054 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002365/0.3614, allocations: 86.36 kB / 0.5055 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3614, allocations: 0 / 0.5055 GB, free: 25.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/0.3615, allocations: 39.38 kB / 0.5055 GB, free: 25.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.3619, allocations: 83.28 kB / 0.5056 GB, free: 24.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.3629, allocations: 0.9052 MB / 0.5065 GB, free: 24.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.3631, allocations: 246.6 kB / 0.5067 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.766e-05/0.3632, allocations: 52.3 kB / 0.5068 GB, free: 24.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.3633, allocations: 32.98 kB / 0.5068 GB, free: 24.47 MB / 446.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3633, allocations: 0 / 0.5068 GB, free: 24.47 MB / 446.1 MB Notification: Performance of Templates: time 0.008389/0.3717, allocations: 4.027 MB / 0.5107 GB, free: 23.92 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.1785011540632695]