Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001705/0.001705, allocations: 69.41 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.001979/0.001979, allocations: 160.4 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.004 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.2163/0.2163, allocations: 34.27 MB / 295.5 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 179] 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.88 kB / 443.2 MB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3491, allocations: 66 MB / 0.4973 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00264/0.3518, allocations: 1.796 MB / 0.499 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3532, allocations: 1.038 MB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.756e-05/0.3532, allocations: 0 / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.3537, allocations: 311.6 kB / 0.5003 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003738/0.354, allocations: 260.8 kB / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.3542, allocations: 106.3 kB / 0.5007 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3545, allocations: 271.9 kB / 0.501 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.3545, allocations: 4.875 kB / 0.501 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3546, allocations: 131.7 kB / 0.5011 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3548, allocations: 222.3 kB / 0.5013 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3549, allocations: 6.219 kB / 0.5013 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.193e-05/0.3549, allocations: 47.14 kB / 0.5014 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.3551, allocations: 140.9 kB / 0.5015 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.3552, allocations: 117.2 kB / 0.5016 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.3555, allocations: 383.3 kB / 0.502 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3555, allocations: 0 / 0.502 GB, free: 27.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3555, allocations: 0 / 0.502 GB, free: 27.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.3555, allocations: 5.469 kB / 0.502 GB, free: 27.26 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.0007607/0.3563, allocations: 0.6759 MB / 0.5026 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3563, allocations: 9.719 kB / 0.5026 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.708e-05/0.3564, allocations: 58.58 kB / 0.5027 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.3568, allocations: 391 kB / 0.5031 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3568, allocations: 7.625 kB / 0.5031 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3568, allocations: 10.91 kB / 0.5031 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.357, allocations: 87.42 kB / 0.5032 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.357, allocations: 4 kB / 0.5032 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.357, allocations: 0 / 0.5032 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.357, allocations: 0 / 0.5032 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.69e-05/0.3571, allocations: 41.67 kB / 0.5032 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.3574, allocations: 314.6 kB / 0.5035 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3576, allocations: 103.5 kB / 0.5036 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.757e-05/0.3577, allocations: 39.67 kB / 0.5036 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.3577, allocations: 11.14 kB / 0.5037 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001778/0.3579, allocations: 113.8 kB / 0.5038 GB, free: 25.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3579, allocations: 0 / 0.5038 GB, free: 25.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004281/0.3583, allocations: 203.9 kB / 0.504 GB, free: 25.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.3584, allocations: 87.73 kB / 0.504 GB, free: 25.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/0.3592, allocations: 1.058 MB / 0.5051 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.3592, allocations: 25.7 kB / 0.5051 GB, free: 25.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.3593, allocations: 239.5 kB / 0.5053 GB, free: 25.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.3594, allocations: 32.97 kB / 0.5054 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.3594, allocations: 30.78 kB / 0.5054 GB, free: 25.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.3595, allocations: 373.2 kB / 0.5057 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.3595, allocations: 33.94 kB / 0.5058 GB, free: 24.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.3596, allocations: 59.53 kB / 0.5058 GB, free: 24.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3598, allocations: 91.75 kB / 0.5059 GB, free: 24.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3598, allocations: 0 / 0.5059 GB, free: 24.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002424/0.36, allocations: 185.7 kB / 0.5061 GB, free: 24.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.36, allocations: 5.906 kB / 0.5061 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.36, allocations: 3.984 kB / 0.5061 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.36, allocations: 0 / 0.5061 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3602, allocations: 29.28 kB / 0.5061 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3602, allocations: 2.969 kB / 0.5061 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.815e-05/0.3602, allocations: 10.5 kB / 0.5062 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3603, allocations: 6 kB / 0.5062 GB, free: 24.59 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.0001466/0.3604, allocations: 221 kB / 0.5064 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.3605, allocations: 61.12 kB / 0.5064 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.3608, allocations: 206.5 kB / 0.5066 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3608, allocations: 6.938 kB / 0.5066 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3608, allocations: 0 / 0.5066 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3608, allocations: 0 / 0.5066 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.361, allocations: 273.2 kB / 0.5069 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.361, allocations: 3.938 kB / 0.5069 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.968e-05/0.361, allocations: 9.781 kB / 0.5069 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.361, allocations: 10.88 kB / 0.5069 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.361, allocations: 0 / 0.5069 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.361, allocations: 7.25 kB / 0.5069 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.361, allocations: 256 / 0.5069 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.3613, allocations: 223.3 kB / 0.5071 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3614, allocations: 72.12 kB / 0.5072 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.3615, allocations: 0 / 0.5072 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.3615, allocations: 14.56 kB / 0.5072 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.3616, allocations: 9.859 kB / 0.5072 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3616, allocations: 3.031 kB / 0.5072 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000592/0.3622, allocations: 0.7918 MB / 0.508 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3622, allocations: 0 / 0.508 GB, free: 23.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3624, allocations: 47.03 kB / 0.508 GB, free: 23.67 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.001543/0.364, allocations: 443.3 kB / 0.5085 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.3643, allocations: 89.06 kB / 0.5086 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3643, allocations: 0 / 0.5086 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.3644, allocations: 45.75 kB / 0.5086 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.3648, allocations: 77.94 kB / 0.5087 GB, free: 23.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3658, allocations: 0.8946 MB / 0.5095 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.366, allocations: 244.4 kB / 0.5098 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.3662, allocations: 59.12 kB / 0.5098 GB, free: 22.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.3663, allocations: 31.88 kB / 0.5099 GB, free: 22.88 MB / 446.1 MB Notification: Performance of SimCode: time 5.2e-07/0.3663, allocations: 0 / 0.5099 GB, free: 22.88 MB / 446.1 MB Notification: Performance of Templates: time 0.009628/0.3759, allocations: 4.013 MB / 0.5138 GB, free: 22.35 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.068177837994881]