Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001618/0.001618, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001472/0.001472, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.758 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.2618/0.2618, allocations: 46.97 MB / 361.6 MB, free: 4.027 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.91 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3856, allocations: 66.03 MB / 0.5619 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.00341/0.389, allocations: 1.783 MB / 0.5636 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3909, allocations: 1.042 MB / 0.5646 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.181e-05/0.391, allocations: 4 kB / 0.5646 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.3916, allocations: 303.3 kB / 0.5649 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005087/0.3921, allocations: 251.2 kB / 0.5652 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.3923, allocations: 115.6 kB / 0.5653 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.3927, allocations: 263.2 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.3927, allocations: 9.797 kB / 0.5655 GB, free: 388 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.3929, allocations: 123.6 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000273/0.3932, allocations: 223.8 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.3932, allocations: 4 kB / 0.5659 GB, free: 36 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3933, allocations: 51.97 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.3935, allocations: 136.5 kB / 0.566 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.3936, allocations: 107 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.3941, allocations: 376.7 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.3941, allocations: 7.984 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3941, allocations: 0 / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.3941, allocations: 0 / 0.5665 GB, free: 15.38 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.001041/0.3951, allocations: 0.6708 MB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3951, allocations: 8.031 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.3952, allocations: 56.53 kB / 0.5672 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/0.3959, allocations: 386.5 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3959, allocations: 4.375 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.3959, allocations: 8.125 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.3961, allocations: 91.36 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3961, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3962, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.3962, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.3963, allocations: 43.89 kB / 0.5677 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3967, allocations: 302.1 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.397, allocations: 117.1 kB / 0.5681 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.3971, allocations: 37.7 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3971, allocations: 4 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000244/0.3973, allocations: 116.9 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.3973, allocations: 0 / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005388/0.3979, allocations: 201.3 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.745e-05/0.398, allocations: 89.03 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.3991, allocations: 1.03 MB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.3992, allocations: 29.7 kB / 0.5696 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3994, allocations: 232.1 kB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.3994, allocations: 35.77 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.3995, allocations: 29.7 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3997, allocations: 366.8 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.291e-05/0.3998, allocations: 31.98 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.3999, allocations: 63.16 kB / 0.5703 GB, free: 11.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.4001, allocations: 95.36 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4001, allocations: 0 / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003416/0.4004, allocations: 185.7 kB / 0.5706 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.4004, allocations: 10.81 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.4005, allocations: 0 / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.4005, allocations: 0 / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4006, allocations: 27.98 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4006, allocations: 4 kB / 0.5706 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4007, allocations: 19.88 kB / 0.5707 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.4007, allocations: 4 kB / 0.5707 GB, free: 10.9 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.0002483/0.401, allocations: 221.8 kB / 0.5709 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.401, allocations: 55.59 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.4015, allocations: 205.8 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.4015, allocations: 0 / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4015, allocations: 0 / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4015, allocations: 0 / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.4018, allocations: 265.2 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4018, allocations: 7.938 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.4018, allocations: 8 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.4018, allocations: 3.938 kB / 0.5714 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4019, allocations: 8 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4019, allocations: 3.938 kB / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4019, allocations: 0 / 0.5714 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.4023, allocations: 229.4 kB / 0.5716 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.4024, allocations: 67.53 kB / 0.5717 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.4025, allocations: 4 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.972e-05/0.4025, allocations: 11.92 kB / 0.5717 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.4026, allocations: 11.98 kB / 0.5717 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.4026, allocations: 4 kB / 0.5717 GB, free: 9.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008884/0.4035, allocations: 0.7721 MB / 0.5725 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4035, allocations: 4 kB / 0.5725 GB, free: 8.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.4038, allocations: 40 kB / 0.5725 GB, free: 8.93 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.001696/0.4055, allocations: 433.3 kB / 0.5729 GB, free: 8.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.4058, allocations: 91.77 kB / 0.573 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4058, allocations: 0 / 0.573 GB, free: 8.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.4059, allocations: 39.92 kB / 0.5731 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.4064, allocations: 86.75 kB / 0.5731 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4079, allocations: 0.9223 MB / 0.574 GB, free: 7.516 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.4082, allocations: 237.8 kB / 0.5743 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.742e-05/0.4082, allocations: 27.42 kB / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4082, allocations: 0 / 0.5743 GB, free: 7.238 MB / 414.1 MB Notification: Performance of Templates: time 0.009632/0.4179, allocations: 5.232 MB / 0.5794 GB, free: 2.004 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.134810805000598]