Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.00179/0.00179, 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.002285/0.002285, allocations: 213.1 kB / 24.48 MB, free: 3.961 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.2726/0.2726, allocations: 46.97 MB / 361.6 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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.91 kB / 0.4974 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.37, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003327/0.3733, allocations: 1.641 MB / 0.5634 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3754, allocations: 1.267 MB / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.3754, allocations: 0 / 0.5647 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.3756, allocations: 35.83 kB / 0.5647 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.376, allocations: 87.56 kB / 0.5648 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005162/0.3765, allocations: 175.3 kB / 0.565 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3766, allocations: 83.7 kB / 0.565 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3768, allocations: 15.98 kB / 0.5651 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.3768, allocations: 35.84 kB / 0.5651 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.377, allocations: 35.84 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.377, allocations: 4 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.3771, allocations: 91.89 kB / 0.5652 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.3772, allocations: 31.84 kB / 0.5652 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.3773, allocations: 19.86 kB / 0.5653 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.3776, allocations: 153.8 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3776, allocations: 0 / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3776, allocations: 0 / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.3776, allocations: 7.938 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000561/0.3782, allocations: 337.7 kB / 0.5657 GB, free: 104 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.3782, allocations: 8.031 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.3782, allocations: 8.891 kB / 0.5658 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3785, allocations: 138.4 kB / 0.5659 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3785, allocations: 4.312 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3785, allocations: 4.375 kB / 0.5659 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.3787, allocations: 109.1 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.3787, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3788, allocations: 8 kB / 0.566 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3788, allocations: 4 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3789, allocations: 31.97 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.3793, allocations: 252.4 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.3795, allocations: 50.5 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.289e-05/0.3796, allocations: 24.92 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3796, allocations: 4 kB / 0.5664 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.3796, allocations: 34.56 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3796, allocations: 0 / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008544/0.3805, allocations: 225.3 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.3805, allocations: 85.09 kB / 0.5667 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.3807, allocations: 152.5 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3807, allocations: 25.7 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.3808, allocations: 96.09 kB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.501e-05/0.3808, allocations: 27.78 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.476e-05/0.3809, allocations: 17.72 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.3811, allocations: 326.8 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3812, allocations: 35.97 kB / 0.5673 GB, free: 14.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.3814, allocations: 87.44 kB / 0.5674 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.3816, allocations: 84.83 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3816, allocations: 3.938 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003019/0.3819, allocations: 125.6 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3819, allocations: 4 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3819, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.382, allocations: 8.281 kB / 0.5676 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.3821, allocations: 19.98 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3821, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.3822, allocations: 11.98 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3822, allocations: 7.875 kB / 0.5677 GB, free: 13.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001007/0.3823, allocations: 121.8 kB / 0.5678 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.3823, allocations: 11.94 kB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003833/0.3827, allocations: 142.6 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3827, allocations: 3.938 kB / 0.5679 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3827, allocations: 4 kB / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3827, allocations: 0 / 0.5679 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.3834, allocations: 362 kB / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3834, allocations: 0 / 0.5683 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.3835, allocations: 23.98 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3835, allocations: 0 / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.3835, allocations: 0 / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3835, allocations: 4 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3835, allocations: 3.938 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.3838, allocations: 219.4 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.186e-05/0.3839, allocations: 11.94 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3839, allocations: 4 kB / 0.5685 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.384, allocations: 19.92 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.384, allocations: 3.938 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.384, allocations: 4 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.3841, allocations: 117.8 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3841, allocations: 0 / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.3845, allocations: 39.86 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001859/0.3863, allocations: 0.5193 MB / 0.5692 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.3866, allocations: 91.91 kB / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3866, allocations: 0 / 0.5693 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3868, allocations: 56.03 kB / 0.5694 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3871, allocations: 16 kB / 0.5694 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.3877, allocations: 239.6 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.577e-05/0.3878, allocations: 87.31 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.599e-05/0.3878, allocations: 19.42 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3878, allocations: 0 / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of Templates: time 0.004338/0.3922, allocations: 2.216 MB / 0.5719 GB, free: 9.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.081701856979635]