Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001378/0.001378, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001523/0.001523, allocations: 210 kB / 24.48 MB, free: 3.938 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.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2338/0.2338, allocations: 46.96 MB / 361.6 MB, free: 4.02 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.89 kB / 0.4974 GB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3861, allocations: 66.04 MB / 0.5619 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.00376/0.3899, allocations: 1.78 MB / 0.5636 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.3921, allocations: 1.053 MB / 0.5646 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3922, allocations: 0 / 0.5646 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006335/0.3928, allocations: 311.3 kB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.3934, allocations: 259.2 kB / 0.5652 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.3937, allocations: 111.6 kB / 0.5653 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.394, allocations: 259.3 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.3941, allocations: 5.812 kB / 0.5655 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.3943, allocations: 135.5 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.3946, allocations: 223.4 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.3946, allocations: 8 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.3947, allocations: 47.98 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3949, allocations: 139.6 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.395, allocations: 115 kB / 0.5662 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.3955, allocations: 388.5 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3955, allocations: 0 / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3955, allocations: 0 / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3955, allocations: 0 / 0.5665 GB, free: 15.31 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.001132/0.3966, allocations: 0.6864 MB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3967, allocations: 11.97 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.774e-05/0.3968, allocations: 52.61 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.3975, allocations: 390.5 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3975, allocations: 4.375 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3975, allocations: 8.125 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.3978, allocations: 91.34 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3978, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3978, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3978, allocations: 0 / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3979, allocations: 47.89 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.3984, allocations: 310 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.3986, allocations: 109.1 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3988, allocations: 41.69 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.3988, allocations: 4 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.399, allocations: 109 kB / 0.5683 GB, free: 13.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.399, allocations: 4 kB / 0.5683 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005133/0.3995, allocations: 205.2 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.485e-05/0.3996, allocations: 81.05 kB / 0.5686 GB, free: 13.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.4009, allocations: 1.065 MB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.4009, allocations: 25.7 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002237/0.4011, allocations: 244.1 kB / 0.5699 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.4012, allocations: 31.73 kB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.4012, allocations: 25.72 kB / 0.57 GB, free: 11.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002218/0.4015, allocations: 370.8 kB / 0.5703 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.301e-05/0.4016, allocations: 35.98 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.4017, allocations: 55.42 kB / 0.5704 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.4019, allocations: 95.84 kB / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4019, allocations: 0 / 0.5705 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003367/0.4022, allocations: 185.2 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4022, allocations: 8 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4022, allocations: 64 / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4023, allocations: 4 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4024, allocations: 27.92 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4024, allocations: 0 / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-05/0.4025, allocations: 11.94 kB / 0.5707 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4025, allocations: 7.984 kB / 0.5707 GB, free: 10.78 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.0002408/0.4027, allocations: 217.7 kB / 0.5709 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.4028, allocations: 63.56 kB / 0.571 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.4032, allocations: 205.8 kB / 0.5712 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.4032, allocations: 8 kB / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4032, allocations: 0 / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4032, allocations: 0 / 0.5712 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.4036, allocations: 273.2 kB / 0.5715 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4036, allocations: 0 / 0.5715 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.4036, allocations: 11.94 kB / 0.5715 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4036, allocations: 3.938 kB / 0.5715 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.4036, allocations: 8 kB / 0.5715 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4036, allocations: 7.922 kB / 0.5715 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4037, allocations: 0 / 0.5715 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003854/0.404, allocations: 221.8 kB / 0.5717 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.4042, allocations: 75.53 kB / 0.5718 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.4042, allocations: 7.984 kB / 0.5718 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.4043, allocations: 4 kB / 0.5718 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.4044, allocations: 11.92 kB / 0.5718 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.4044, allocations: 8 kB / 0.5718 GB, free: 9.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009561/0.4054, allocations: 0.7956 MB / 0.5726 GB, free: 8.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0 / 0.5726 GB, free: 8.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.4056, allocations: 40 kB / 0.5726 GB, free: 8.773 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.001698/0.4073, allocations: 444.4 kB / 0.5731 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.4076, allocations: 84.02 kB / 0.5731 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4076, allocations: 0 / 0.5731 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4077, allocations: 48.16 kB / 0.5732 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.4082, allocations: 73.88 kB / 0.5733 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4096, allocations: 0.9419 MB / 0.5742 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4099, allocations: 249.7 kB / 0.5744 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.41, allocations: 31.42 kB / 0.5744 GB, free: 7.051 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.41, allocations: 0 / 0.5744 GB, free: 7.051 MB / 414.1 MB Notification: Performance of Templates: time 0.009803/0.4198, allocations: 5.329 MB / 0.5796 GB, free: 1.723 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.247866695281118]