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.002074/0.002074, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002201/0.002201, allocations: 209.3 kB / 23.73 MB, free: 4.379 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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.2425/0.2425, allocations: 46.94 MB / 360.9 MB, free: 4.043 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.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.002128/0.002128, allocations: 59.84 kB / 0.4966 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3895, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003626/0.3931, allocations: 1.788 MB / 0.5629 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3953, allocations: 1.042 MB / 0.5639 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.3954, allocations: 0 / 0.5639 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006632/0.396, allocations: 307.3 kB / 0.5642 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005735/0.3966, allocations: 263.2 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.3969, allocations: 107.6 kB / 0.5645 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.3972, allocations: 267.3 kB / 0.5648 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.445e-05/0.3973, allocations: 13.81 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.3975, allocations: 127.6 kB / 0.5649 GB, free: 272 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.3977, allocations: 219.4 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.3978, allocations: 8 kB / 0.5652 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3979, allocations: 48.03 kB / 0.5652 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.3981, allocations: 147.5 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3982, allocations: 111 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004821/0.3987, allocations: 388.6 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3987, allocations: 0 / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3987, allocations: 0 / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3987, allocations: 0 / 0.5658 GB, free: 15.37 MB / 414.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.001105/0.3998, allocations: 0.6825 MB / 0.5665 GB, free: 14.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3999, allocations: 8.031 kB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.297e-05/0.3999, allocations: 48.61 kB / 0.5665 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007445/0.4007, allocations: 406.4 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.4007, allocations: 384 / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.4007, allocations: 8.125 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.401, allocations: 91.34 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.401, allocations: 0 / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.401, allocations: 0 / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.401, allocations: 4 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4011, allocations: 39.91 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.4016, allocations: 310.1 kB / 0.5674 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.4019, allocations: 109.2 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.402, allocations: 37.64 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.402, allocations: 4 kB / 0.5675 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.4023, allocations: 120.9 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.4023, allocations: 0 / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005286/0.4028, allocations: 205.6 kB / 0.5678 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.4029, allocations: 85.03 kB / 0.5679 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.4041, allocations: 1.062 MB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4042, allocations: 29.7 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.4044, allocations: 232.1 kB / 0.5692 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.159e-05/0.4044, allocations: 39.72 kB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/0.4045, allocations: 29.7 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.4047, allocations: 374.8 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.4048, allocations: 32.11 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.4049, allocations: 63.41 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.4051, allocations: 91.34 kB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4051, allocations: 4 kB / 0.5698 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003545/0.4055, allocations: 173.2 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4055, allocations: 8.062 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4055, allocations: 4 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.4055, allocations: 3.984 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4056, allocations: 23.94 kB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.4056, allocations: 4 kB / 0.57 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.4057, allocations: 11.92 kB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.4058, allocations: 4 kB / 0.57 GB, free: 10.84 MB / 414.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.0002445/0.406, allocations: 221.8 kB / 0.5702 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.4061, allocations: 59.56 kB / 0.5703 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004175/0.4065, allocations: 206 kB / 0.5705 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.4065, allocations: 4.062 kB / 0.5705 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4065, allocations: 4 kB / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4065, allocations: 0 / 0.5705 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.4068, allocations: 269.2 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4068, allocations: 0 / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.314e-05/0.4069, allocations: 11.94 kB / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.4069, allocations: 7.922 kB / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.4069, allocations: 4 kB / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4069, allocations: 0 / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4069, allocations: 3.938 kB / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.4073, allocations: 225.6 kB / 0.571 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.4074, allocations: 71.53 kB / 0.571 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.4075, allocations: 3.984 kB / 0.5711 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.4076, allocations: 8 kB / 0.5711 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.4076, allocations: 11.92 kB / 0.5711 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.4077, allocations: 11.92 kB / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008985/0.4086, allocations: 0.7878 MB / 0.5719 GB, free: 8.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4086, allocations: 0 / 0.5719 GB, free: 8.879 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.4088, allocations: 48 kB / 0.5719 GB, free: 8.832 MB / 414.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.001761/0.4106, allocations: 440.8 kB / 0.5723 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000305/0.4109, allocations: 87.89 kB / 0.5724 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4109, allocations: 0 / 0.5724 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.411, allocations: 43.91 kB / 0.5724 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.4115, allocations: 82.84 kB / 0.5725 GB, free: 8.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.413, allocations: 0.8895 MB / 0.5734 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.4133, allocations: 249.7 kB / 0.5736 GB, free: 7.188 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.4134, allocations: 50.95 kB / 0.5737 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.4135, allocations: 31.44 kB / 0.5737 GB, free: 7.113 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4135, allocations: 0 / 0.5737 GB, free: 7.113 MB / 414.1 MB Notification: Performance of Templates: time 0.01076/0.4242, allocations: 4.407 MB / 0.578 GB, free: 2.754 MB / 414.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/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.6272829552181065]