Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001802/0.001802, allocations: 74.42 kB / 21.24 MB, free: 0.5352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002326/0.002326, allocations: 161.4 kB / 24.5 MB, free: 3.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 177.1 MB / 204.7 MB, free: 8.98 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2236/0.2236, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 79.88 kB / 443.2 MB, free: 6.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3229, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003063/0.326, allocations: 1.798 MB / 0.4991 GB, free: 28.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.3276, allocations: 1.041 MB / 0.5001 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.458e-05/0.3277, allocations: 7.219 kB / 0.5001 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.3282, allocations: 299.2 kB / 0.5004 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004554/0.3286, allocations: 257.5 kB / 0.5006 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.3288, allocations: 113.4 kB / 0.5007 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.3291, allocations: 257.8 kB / 0.501 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.3292, allocations: 12.2 kB / 0.501 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3293, allocations: 126.9 kB / 0.5011 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.3295, allocations: 217.5 kB / 0.5013 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3295, allocations: 6.25 kB / 0.5013 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3296, allocations: 51.12 kB / 0.5014 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3298, allocations: 142.2 kB / 0.5015 GB, free: 27.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.874e-05/0.3299, allocations: 103.1 kB / 0.5016 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003155/0.3302, allocations: 375.6 kB / 0.502 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3302, allocations: 0 / 0.502 GB, free: 27.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3302, allocations: 0 / 0.502 GB, free: 27.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3302, allocations: 0 / 0.502 GB, free: 27.24 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.0007821/0.331, allocations: 0.6754 MB / 0.5026 GB, free: 26.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.331, allocations: 11.03 kB / 0.5026 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.3311, allocations: 50.83 kB / 0.5027 GB, free: 26.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.3316, allocations: 394.8 kB / 0.5031 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3316, allocations: 3.781 kB / 0.5031 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.3316, allocations: 4.359 kB / 0.5031 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3318, allocations: 88.3 kB / 0.5032 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3318, allocations: 0 / 0.5032 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3318, allocations: 10.52 kB / 0.5032 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3318, allocations: 0 / 0.5032 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3319, allocations: 34.52 kB / 0.5032 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.3322, allocations: 302.7 kB / 0.5035 GB, free: 26.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3325, allocations: 113 kB / 0.5036 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.389e-05/0.3325, allocations: 39.3 kB / 0.5036 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.3326, allocations: 0 / 0.5036 GB, free: 26.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.3328, allocations: 113.2 kB / 0.5037 GB, free: 25.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3328, allocations: 0 / 0.5037 GB, free: 25.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004459/0.3332, allocations: 214.6 kB / 0.5039 GB, free: 25.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.3332, allocations: 81.11 kB / 0.504 GB, free: 25.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.3341, allocations: 1.031 MB / 0.505 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.3341, allocations: 32.73 kB / 0.5051 GB, free: 25.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.3342, allocations: 230.7 kB / 0.5053 GB, free: 25.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.3342, allocations: 28.84 kB / 0.5053 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.3343, allocations: 33.44 kB / 0.5053 GB, free: 25.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.3343, allocations: 369 kB / 0.5057 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.3344, allocations: 32.69 kB / 0.5057 GB, free: 24.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.161e-05/0.3345, allocations: 58.97 kB / 0.5058 GB, free: 24.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3347, allocations: 102.3 kB / 0.5059 GB, free: 24.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3347, allocations: 0 / 0.5059 GB, free: 24.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002454/0.3349, allocations: 171.9 kB / 0.506 GB, free: 24.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.3349, allocations: 10.03 kB / 0.5061 GB, free: 24.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3349, allocations: 7.266 kB / 0.5061 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3349, allocations: 7.156 kB / 0.5061 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.335, allocations: 21.77 kB / 0.5061 GB, free: 24.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3351, allocations: 4.062 kB / 0.5061 GB, free: 24.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.952e-05/0.3351, allocations: 17.83 kB / 0.5061 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3352, allocations: 3 kB / 0.5061 GB, free: 24.58 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.0001594/0.3353, allocations: 223.2 kB / 0.5063 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.3354, allocations: 55.55 kB / 0.5064 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.3357, allocations: 205.2 kB / 0.5066 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3357, allocations: 0 / 0.5066 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3357, allocations: 3.312 kB / 0.5066 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3357, allocations: 0 / 0.5066 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.3359, allocations: 273.2 kB / 0.5068 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3359, allocations: 0 / 0.5068 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.336, allocations: 9.156 kB / 0.5068 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.336, allocations: 0 / 0.5068 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.336, allocations: 10.12 kB / 0.5069 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.336, allocations: 0 / 0.5069 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.336, allocations: 2.969 kB / 0.5069 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002797/0.3363, allocations: 223.1 kB / 0.5071 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.3364, allocations: 70.33 kB / 0.5071 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3364, allocations: 14.39 kB / 0.5072 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.3365, allocations: 7 kB / 0.5072 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3365, allocations: 6.5 kB / 0.5072 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3365, allocations: 13.56 kB / 0.5072 GB, free: 23.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006026/0.3371, allocations: 0.7658 MB / 0.5079 GB, free: 23.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3371, allocations: 0 / 0.5079 GB, free: 23.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003886/0.3375, allocations: 40.78 kB / 0.508 GB, free: 23.68 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.001618/0.3392, allocations: 432.9 kB / 0.5084 GB, free: 23.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.3394, allocations: 88.28 kB / 0.5085 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3394, allocations: 0 / 0.5085 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.3395, allocations: 46.8 kB / 0.5085 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.34, allocations: 78.02 kB / 0.5086 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.341, allocations: 0.8825 MB / 0.5094 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.3412, allocations: 241.5 kB / 0.5097 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.3413, allocations: 57.58 kB / 0.5097 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/0.3414, allocations: 27.62 kB / 0.5098 GB, free: 22.86 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3414, allocations: 0 / 0.5098 GB, free: 22.86 MB / 446.1 MB Notification: Performance of Templates: time 0.009406/0.3508, allocations: 3.98 MB / 0.5136 GB, free: 22.31 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.212106534978375]