Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001448/0.001448, allocations: 74.88 kB / 21.24 MB, free: 0.5469 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.001487/0.001487, allocations: 161.8 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.459/1.459, allocations: 177.2 MB / 204.9 MB, free: 9.02 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.2093/0.2093, allocations: 32.81 MB / 294.1 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [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.002149/0.002149, allocations: 67.89 kB / 440.6 MB, free: 9.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 65.44 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002995/0.344, allocations: 1.792 MB / 0.496 GB, free: 30.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.3454, allocations: 1.043 MB / 0.497 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.457e-05/0.3455, allocations: 0 / 0.497 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.346, allocations: 314.7 kB / 0.4973 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.3463, allocations: 264.2 kB / 0.4975 GB, free: 29.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.3465, allocations: 104.3 kB / 0.4976 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.3468, allocations: 261.5 kB / 0.4979 GB, free: 29.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.3468, allocations: 9.141 kB / 0.4979 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.3469, allocations: 134.9 kB / 0.498 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.3471, allocations: 215 kB / 0.4982 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.3471, allocations: 10.38 kB / 0.4982 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.3472, allocations: 46.7 kB / 0.4983 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3474, allocations: 149.5 kB / 0.4984 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.571e-05/0.3475, allocations: 107.9 kB / 0.4985 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003047/0.3478, allocations: 380.2 kB / 0.4989 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3478, allocations: 6.875 kB / 0.4989 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3478, allocations: 0 / 0.4989 GB, free: 28.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3478, allocations: 0 / 0.4989 GB, free: 28.84 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.0007826/0.3486, allocations: 0.6835 MB / 0.4995 GB, free: 28.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.3486, allocations: 8.906 kB / 0.4996 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.023e-05/0.3487, allocations: 56.64 kB / 0.4996 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.3491, allocations: 393.7 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3491, allocations: 8.359 kB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.3492, allocations: 7.375 kB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3493, allocations: 96.69 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3493, allocations: 0 / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3493, allocations: 0 / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3493, allocations: 0 / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.749e-05/0.3494, allocations: 33.97 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002523/0.3497, allocations: 314.5 kB / 0.5004 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.3499, allocations: 108 kB / 0.5005 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.35, allocations: 40.72 kB / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.35, allocations: 0 / 0.5006 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.3502, allocations: 114.5 kB / 0.5007 GB, free: 27.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.3502, allocations: 0 / 0.5007 GB, free: 27.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004166/0.3506, allocations: 214.8 kB / 0.5009 GB, free: 27.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.3506, allocations: 84.08 kB / 0.501 GB, free: 27.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008109/0.3515, allocations: 1.058 MB / 0.502 GB, free: 27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.3515, allocations: 29.7 kB / 0.502 GB, free: 26.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.3516, allocations: 241.4 kB / 0.5023 GB, free: 26.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.3516, allocations: 26.91 kB / 0.5023 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.3517, allocations: 30.5 kB / 0.5023 GB, free: 26.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.3517, allocations: 366.6 kB / 0.5027 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.3518, allocations: 37.86 kB / 0.5027 GB, free: 26.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.3519, allocations: 60.36 kB / 0.5028 GB, free: 26.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.352, allocations: 89.8 kB / 0.5028 GB, free: 26.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.352, allocations: 0 / 0.5028 GB, free: 26.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002557/0.3523, allocations: 185.7 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3523, allocations: 9.781 kB / 0.503 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3523, allocations: 0 / 0.503 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3523, allocations: 2.938 kB / 0.503 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3524, allocations: 25.75 kB / 0.5031 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3524, allocations: 0 / 0.5031 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.3525, allocations: 16.92 kB / 0.5031 GB, free: 26.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/0.3525, allocations: 3.25 kB / 0.5031 GB, free: 26.16 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.000151/0.3527, allocations: 224.6 kB / 0.5033 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.3527, allocations: 63.92 kB / 0.5033 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/0.3531, allocations: 207 kB / 0.5035 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3531, allocations: 0 / 0.5035 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3531, allocations: 3.094 kB / 0.5035 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3531, allocations: 7.938 kB / 0.5036 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.3533, allocations: 266.9 kB / 0.5038 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3533, allocations: 3.031 kB / 0.5038 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.3533, allocations: 6.375 kB / 0.5038 GB, free: 25.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3533, allocations: 7.094 kB / 0.5038 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3533, allocations: 7.094 kB / 0.5038 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3533, allocations: 3.562 kB / 0.5038 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3533, allocations: 0 / 0.5038 GB, free: 25.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.3536, allocations: 226.3 kB / 0.504 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.3537, allocations: 67.64 kB / 0.5041 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.3538, allocations: 10.72 kB / 0.5041 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.23e-05/0.3538, allocations: 5.969 kB / 0.5041 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.3539, allocations: 12.81 kB / 0.5041 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.3539, allocations: 8.766 kB / 0.5042 GB, free: 25.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005976/0.3545, allocations: 0.787 MB / 0.5049 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3545, allocations: 0 / 0.5049 GB, free: 25.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3548, allocations: 46.66 kB / 0.505 GB, free: 25.24 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.00153/0.3563, allocations: 441 kB / 0.5054 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3565, allocations: 97.89 kB / 0.5055 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3565, allocations: 3 kB / 0.5055 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/0.3566, allocations: 35.53 kB / 0.5055 GB, free: 25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.357, allocations: 76.64 kB / 0.5056 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.3581, allocations: 0.9003 MB / 0.5065 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.3583, allocations: 249.4 kB / 0.5067 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.3584, allocations: 52.72 kB / 0.5068 GB, free: 24.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.3585, allocations: 26.12 kB / 0.5068 GB, free: 24.45 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3585, allocations: 0 / 0.5068 GB, free: 24.45 MB / 446.1 MB Notification: Performance of Templates: time 0.008198/0.3667, allocations: 4.028 MB / 0.5107 GB, free: 23.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.017968031927012]