Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001284/0.001284, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001395/0.001395, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.538/1.538, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.2398/0.2398, allocations: 46.94 MB / 361.6 MB, free: 4.273 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 71.88 kB / 0.4974 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3745, allocations: 66.03 MB / 0.5619 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003678/0.3782, allocations: 1.838 MB / 0.5637 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3802, allocations: 1.116 MB / 0.5648 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.3803, allocations: 7.938 kB / 0.5648 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.3809, allocations: 319.2 kB / 0.5651 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.3814, allocations: 251.2 kB / 0.5654 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.3817, allocations: 107.6 kB / 0.5655 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.382, allocations: 267.2 kB / 0.5657 GB, free: 492 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.113e-05/0.3821, allocations: 9.797 kB / 0.5657 GB, free: 480 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.3823, allocations: 139.5 kB / 0.5659 GB, free: 340 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.3826, allocations: 215.5 kB / 0.5661 GB, free: 124 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.575e-05/0.3826, allocations: 7.984 kB / 0.5661 GB, free: 116 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3827, allocations: 51.98 kB / 0.5661 GB, free: 64 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.3829, allocations: 143.5 kB / 0.5663 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.383, allocations: 150.8 kB / 0.5664 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004798/0.3835, allocations: 380.6 kB / 0.5668 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3835, allocations: 0 / 0.5668 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3835, allocations: 4 kB / 0.5668 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3835, allocations: 0 / 0.5668 GB, free: 15.4 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.001051/0.3846, allocations: 0.6863 MB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3846, allocations: 8.031 kB / 0.5675 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.856e-05/0.3847, allocations: 56.61 kB / 0.5675 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.3854, allocations: 398.5 kB / 0.5679 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3854, allocations: 4.312 kB / 0.5679 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3854, allocations: 12.12 kB / 0.5679 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3857, allocations: 83.31 kB / 0.568 GB, free: 14.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3857, allocations: 3.984 kB / 0.568 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3857, allocations: 4 kB / 0.568 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.3857, allocations: 4 kB / 0.568 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3858, allocations: 23.98 kB / 0.568 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.3863, allocations: 365.4 kB / 0.5684 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.3865, allocations: 97.17 kB / 0.5685 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.743e-05/0.3866, allocations: 45.64 kB / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3866, allocations: 0 / 0.5685 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.3869, allocations: 105 kB / 0.5686 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3869, allocations: 0 / 0.5686 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.000503/0.3874, allocations: 205.2 kB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.3874, allocations: 77.11 kB / 0.5689 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.3886, allocations: 1.05 MB / 0.5699 GB, free: 12.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.3886, allocations: 33.69 kB / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.3889, allocations: 236.1 kB / 0.5702 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.3889, allocations: 31.73 kB / 0.5702 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.526e-05/0.389, allocations: 29.7 kB / 0.5702 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3892, allocations: 370.8 kB / 0.5706 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.3892, allocations: 31.98 kB / 0.5706 GB, free: 11.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.3894, allocations: 55.42 kB / 0.5707 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3895, allocations: 95.84 kB / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3895, allocations: 0 / 0.5707 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003051/0.3898, allocations: 177.1 kB / 0.5709 GB, free: 10.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3899, allocations: 7.984 kB / 0.5709 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3899, allocations: 4 kB / 0.5709 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3899, allocations: 3.938 kB / 0.5709 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.39, allocations: 16 kB / 0.5709 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.39, allocations: 7.984 kB / 0.571 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.3901, allocations: 16 kB / 0.571 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3901, allocations: 4 kB / 0.571 GB, free: 10.86 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.0002436/0.3904, allocations: 229.6 kB / 0.5712 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3904, allocations: 55.62 kB / 0.5712 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.3908, allocations: 201.8 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3908, allocations: 3.938 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3908, allocations: 4 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3909, allocations: 0 / 0.5714 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/0.3912, allocations: 328.5 kB / 0.5718 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3912, allocations: 0 / 0.5718 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.3913, allocations: 11.98 kB / 0.5718 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3913, allocations: 0 / 0.5718 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3913, allocations: 4.25 kB / 0.5718 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3913, allocations: 4 kB / 0.5718 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3913, allocations: 0 / 0.5718 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.3916, allocations: 229.4 kB / 0.572 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.3918, allocations: 63.59 kB / 0.5721 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/0.3918, allocations: 8 kB / 0.5721 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3919, allocations: 4 kB / 0.5721 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.3919, allocations: 11.98 kB / 0.5721 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.392, allocations: 7.984 kB / 0.5721 GB, free: 9.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008643/0.3928, allocations: 0.78 MB / 0.5728 GB, free: 8.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3928, allocations: 0 / 0.5728 GB, free: 8.855 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.3931, allocations: 52 kB / 0.5729 GB, free: 8.805 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.001538/0.3946, allocations: 410.1 kB / 0.5733 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.3949, allocations: 79.89 kB / 0.5734 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3949, allocations: 0 / 0.5734 GB, free: 8.477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.395, allocations: 39.92 kB / 0.5734 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.3955, allocations: 74.94 kB / 0.5735 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.3969, allocations: 0.9419 MB / 0.5744 GB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.3974, allocations: 0.8468 MB / 0.5752 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.3974, allocations: 27.44 kB / 0.5752 GB, free: 6.496 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3974, allocations: 0 / 0.5752 GB, free: 6.496 MB / 414.1 MB Notification: Performance of Templates: time 0.008969/0.4064, allocations: 5.246 MB / 0.5804 GB, free: 1.254 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.10349122597836]