Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001689/0.001689, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002164/0.002164, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.634/1.634, allocations: 230.6 MB / 257.5 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.245/0.245, allocations: 46.96 MB / 360.9 MB, free: 4.008 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 71.89 kB / 0.4966 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3769, allocations: 66.04 MB / 0.5611 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003642/0.3806, allocations: 1.79 MB / 0.5629 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.3826, allocations: 1.042 MB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.565e-05/0.3827, allocations: 7.875 kB / 0.5639 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005295/0.3832, allocations: 299.3 kB / 0.5642 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.3838, allocations: 255.2 kB / 0.5644 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.384, allocations: 107.7 kB / 0.5645 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3843, allocations: 263.3 kB / 0.5648 GB, free: 372 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/0.3844, allocations: 5.812 kB / 0.5648 GB, free: 364 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.3846, allocations: 135.5 kB / 0.5649 GB, free: 228 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.3849, allocations: 219.9 kB / 0.5651 GB, free: 8 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.3849, allocations: 8 kB / 0.5651 GB, free: 0 / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3851, allocations: 47.98 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3852, allocations: 132.5 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.3854, allocations: 111.1 kB / 0.5654 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004759/0.3858, allocations: 384.6 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3859, allocations: 0 / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3859, allocations: 0 / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3859, allocations: 0 / 0.5658 GB, free: 15.34 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.001163/0.387, allocations: 0.6708 MB / 0.5664 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3871, allocations: 12.03 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.3872, allocations: 48.61 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.3879, allocations: 386.5 kB / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3879, allocations: 384 / 0.5669 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3879, allocations: 12.12 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.3882, allocations: 87.3 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3882, allocations: 3.938 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.3882, allocations: 4 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3882, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.3883, allocations: 39.97 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.3887, allocations: 306.1 kB / 0.5673 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003126/0.389, allocations: 105.2 kB / 0.5674 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3892, allocations: 37.7 kB / 0.5674 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.3892, allocations: 4 kB / 0.5674 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.3894, allocations: 112.9 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.3894, allocations: 4 kB / 0.5676 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005515/0.39, allocations: 213.2 kB / 0.5678 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.3901, allocations: 81.05 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3912, allocations: 1.034 MB / 0.5688 GB, free: 12.03 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3913, allocations: 25.7 kB / 0.5689 GB, free: 12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.3915, allocations: 240.1 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.3915, allocations: 23.8 kB / 0.5691 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/0.3916, allocations: 29.7 kB / 0.5691 GB, free: 11.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3918, allocations: 366.8 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.3919, allocations: 27.98 kB / 0.5695 GB, free: 11.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.392, allocations: 71.28 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.3922, allocations: 95.84 kB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3922, allocations: 0 / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003315/0.3926, allocations: 185.1 kB / 0.5699 GB, free: 10.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3926, allocations: 7.984 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3926, allocations: 4 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3926, allocations: 4.062 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3927, allocations: 20 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3927, allocations: 3.984 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3928, allocations: 11.89 kB / 0.5699 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3928, allocations: 8 kB / 0.5699 GB, free: 10.88 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.0002499/0.3931, allocations: 222.6 kB / 0.5701 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.3932, allocations: 51.61 kB / 0.5702 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.3936, allocations: 201.8 kB / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3936, allocations: 4 kB / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3936, allocations: 4 kB / 0.5704 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3937, allocations: 3.984 kB / 0.5704 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.3939, allocations: 273.1 kB / 0.5706 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3939, allocations: 0 / 0.5706 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.394, allocations: 12 kB / 0.5707 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.394, allocations: 3.938 kB / 0.5707 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.394, allocations: 7.984 kB / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.394, allocations: 0 / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.394, allocations: 0 / 0.5707 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.3944, allocations: 221.8 kB / 0.5709 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.3945, allocations: 75.53 kB / 0.571 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.3946, allocations: 7.984 kB / 0.571 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.3947, allocations: 0 / 0.571 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.3947, allocations: 11.98 kB / 0.571 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3947, allocations: 8 kB / 0.571 GB, free: 9.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008952/0.3956, allocations: 0.7721 MB / 0.5717 GB, free: 8.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3956, allocations: 0 / 0.5717 GB, free: 8.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002809/0.3959, allocations: 40 kB / 0.5718 GB, free: 8.914 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.001766/0.3977, allocations: 436.3 kB / 0.5722 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.398, allocations: 91.95 kB / 0.5723 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.398, allocations: 0 / 0.5723 GB, free: 8.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3981, allocations: 44.09 kB / 0.5723 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3985, allocations: 74.52 kB / 0.5724 GB, free: 8.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.3999, allocations: 0.8738 MB / 0.5732 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.4002, allocations: 245.7 kB / 0.5735 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.4003, allocations: 58.94 kB / 0.5735 GB, free: 7.242 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.4003, allocations: 31.44 kB / 0.5736 GB, free: 7.215 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4004, allocations: 0 / 0.5736 GB, free: 7.215 MB / 414.1 MB Notification: Performance of Templates: time 0.009935/0.4103, allocations: 4.342 MB / 0.5778 GB, free: 2.914 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.672981215175241]