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.001778/0.001778, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.002279/0.002279, allocations: 212 kB / 23.74 MB, free: 4.688 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.628/1.628, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2867/0.2867, allocations: 46.93 MB / 360.8 MB, free: 4.277 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.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.002031/0.002031, allocations: 67.88 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3776, allocations: 66.02 MB / 0.5612 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003723/0.3813, allocations: 1.857 MB / 0.563 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3835, allocations: 1.116 MB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3837, allocations: 7.938 kB / 0.5641 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.3843, allocations: 307.3 kB / 0.5644 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005332/0.3848, allocations: 255.2 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.3851, allocations: 111.6 kB / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00039/0.3855, allocations: 267.2 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.3855, allocations: 13.81 kB / 0.565 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.3858, allocations: 139.5 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.3861, allocations: 215.5 kB / 0.5653 GB, free: 140 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.3861, allocations: 8 kB / 0.5653 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.3862, allocations: 47.97 kB / 0.5654 GB, free: 84 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.3864, allocations: 139.6 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.3866, allocations: 154.7 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005665/0.3871, allocations: 380.6 kB / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3871, allocations: 0 / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3871, allocations: 0 / 0.566 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3872, allocations: 4 kB / 0.566 GB, free: 15.42 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.001165/0.3883, allocations: 0.6786 MB / 0.5667 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.3884, allocations: 12.03 kB / 0.5667 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.631e-05/0.3885, allocations: 48.61 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007299/0.3892, allocations: 410.4 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3892, allocations: 384 / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.3892, allocations: 8.125 kB / 0.5672 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.3895, allocations: 91.36 kB / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3895, allocations: 0 / 0.5672 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.3895, allocations: 4 kB / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3895, allocations: 0 / 0.5672 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.3896, allocations: 35.91 kB / 0.5673 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.3901, allocations: 349.4 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.3904, allocations: 101.2 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3905, allocations: 45.62 kB / 0.5677 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3905, allocations: 3.984 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.3908, allocations: 117 kB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.3908, allocations: 3.938 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.00052/0.3913, allocations: 193.8 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.3914, allocations: 85.05 kB / 0.5681 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.3926, allocations: 1.05 MB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.3927, allocations: 33.7 kB / 0.5692 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.3929, allocations: 236.1 kB / 0.5694 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.3929, allocations: 31.73 kB / 0.5694 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.393, allocations: 29.72 kB / 0.5695 GB, free: 11.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.3932, allocations: 366.8 kB / 0.5698 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.052e-05/0.3933, allocations: 31.98 kB / 0.5699 GB, free: 11.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.3934, allocations: 59.41 kB / 0.5699 GB, free: 11.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.3936, allocations: 91.42 kB / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3936, allocations: 0 / 0.57 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003209/0.394, allocations: 173.2 kB / 0.5702 GB, free: 10.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.394, allocations: 8 kB / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.394, allocations: 4.062 kB / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.394, allocations: 0 / 0.5702 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.3942, allocations: 31.92 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.3942, allocations: 0 / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.3943, allocations: 11.88 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.3943, allocations: 4 kB / 0.5702 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.0002943/0.3946, allocations: 225.7 kB / 0.5704 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/0.3946, allocations: 55.62 kB / 0.5705 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004451/0.3951, allocations: 201.8 kB / 0.5707 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3951, allocations: 4 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3951, allocations: 256 / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3951, allocations: 3.984 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.3955, allocations: 328.4 kB / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3955, allocations: 0 / 0.571 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.52e-05/0.3955, allocations: 12 kB / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3955, allocations: 0 / 0.571 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3955, allocations: 7.984 kB / 0.571 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3955, allocations: 4 kB / 0.571 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3955, allocations: 4 kB / 0.571 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.3959, allocations: 209.5 kB / 0.5712 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002065/0.3961, allocations: 67.59 kB / 0.5713 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.3961, allocations: 7.875 kB / 0.5713 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.3962, allocations: 11.98 kB / 0.5713 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.3963, allocations: 11.98 kB / 0.5713 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3963, allocations: 4 kB / 0.5713 GB, free: 9.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009177/0.3972, allocations: 0.7878 MB / 0.5721 GB, free: 8.875 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3972, allocations: 0 / 0.5721 GB, free: 8.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.3975, allocations: 43.94 kB / 0.5721 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.0016/0.3991, allocations: 415.1 kB / 0.5725 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.3994, allocations: 75.91 kB / 0.5726 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3994, allocations: 4.125 kB / 0.5726 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.3995, allocations: 43.91 kB / 0.5727 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.3999, allocations: 73.33 kB / 0.5727 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.4013, allocations: 0.8894 MB / 0.5736 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006816/0.402, allocations: 0.8584 MB / 0.5744 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.4021, allocations: 50.97 kB / 0.5745 GB, free: 6.535 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.716e-05/0.4022, allocations: 35.42 kB / 0.5745 GB, free: 6.504 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4022, allocations: 0 / 0.5745 GB, free: 6.504 MB / 414.1 MB Notification: Performance of Templates: time 0.01041/0.4126, allocations: 3.902 MB / 0.5783 GB, free: 2.625 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.712476629996672]