Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.001297/0.001297, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001474/0.001474, allocations: 211.3 kB / 23.73 MB, free: 4.387 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.596/1.596, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 44.94 MB / 358.8 MB, free: 6.172 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.91 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3903, allocations: 65.48 MB / 0.5575 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.0034/0.3937, allocations: 1.605 MB / 0.559 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.3948, allocations: 0.531 MB / 0.5596 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.3949, allocations: 3.938 kB / 0.5596 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.3952, allocations: 83.7 kB / 0.5596 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.3956, allocations: 103.6 kB / 0.5597 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.396, allocations: 111.7 kB / 0.5599 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.3961, allocations: 83.81 kB / 0.5599 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3963, allocations: 14.66 kB / 0.5599 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.3963, allocations: 35.84 kB / 0.56 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3965, allocations: 63.75 kB / 0.56 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3965, allocations: 4 kB / 0.56 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3966, allocations: 47.97 kB / 0.5601 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.3967, allocations: 23.92 kB / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.3967, allocations: 19.81 kB / 0.5601 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3969, allocations: 111.2 kB / 0.5602 GB, free: 4.641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3969, allocations: 4 kB / 0.5602 GB, free: 4.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3969, allocations: 0 / 0.5602 GB, free: 4.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3969, allocations: 0 / 0.5602 GB, free: 4.637 MB / 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.0005567/0.3975, allocations: 341.6 kB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3975, allocations: 8.031 kB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.3976, allocations: 20.84 kB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.3978, allocations: 143 kB / 0.5607 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3978, allocations: 384 / 0.5607 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3978, allocations: 8.375 kB / 0.5607 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.398, allocations: 57.8 kB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.398, allocations: 0 / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.398, allocations: 4 kB / 0.5608 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.398, allocations: 4 kB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3981, allocations: 31.91 kB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.3985, allocations: 244.4 kB / 0.5611 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.3987, allocations: 42.56 kB / 0.5611 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.3987, allocations: 20.94 kB / 0.5611 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3987, allocations: 4 kB / 0.5611 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3988, allocations: 38.5 kB / 0.5612 GB, free: 3.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3988, allocations: 0 / 0.5612 GB, free: 3.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009282/0.3997, allocations: 237.3 kB / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.3997, allocations: 55.41 kB / 0.5614 GB, free: 3.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002353/0.4, allocations: 218.3 kB / 0.5617 GB, free: 3.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.4, allocations: 25.7 kB / 0.5617 GB, free: 3.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.4001, allocations: 112 kB / 0.5618 GB, free: 2.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.4001, allocations: 27.75 kB / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.4002, allocations: 25.7 kB / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4004, allocations: 330.8 kB / 0.5622 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.4004, allocations: 23.98 kB / 0.5622 GB, free: 2.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.4005, allocations: 31.97 kB / 0.5622 GB, free: 2.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4007, allocations: 72.83 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4007, allocations: 0 / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000241/0.4009, allocations: 121.5 kB / 0.5624 GB, free: 2.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.401, allocations: 8 kB / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.401, allocations: 0 / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.401, allocations: 0 / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4011, allocations: 15.98 kB / 0.5624 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.4011, allocations: 4 kB / 0.5624 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.4011, allocations: 0 / 0.5624 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.4011, allocations: 11.94 kB / 0.5624 GB, free: 2.219 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0001257/0.4013, allocations: 129.8 kB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.4013, allocations: 11.91 kB / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.4016, allocations: 135.7 kB / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4016, allocations: 0 / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4016, allocations: 0 / 0.5627 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.4016, allocations: 3.938 kB / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005578/0.4022, allocations: 374.8 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4022, allocations: 4 kB / 0.5631 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.4023, allocations: 19.98 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4023, allocations: 0 / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.4023, allocations: 0 / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.4023, allocations: 7.875 kB / 0.5631 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4023, allocations: 4 kB / 0.5631 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.4026, allocations: 204.3 kB / 0.5633 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.08e-05/0.4026, allocations: 15.89 kB / 0.5633 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.4026, allocations: 4.031 kB / 0.5633 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.4027, allocations: 11.94 kB / 0.5633 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.4027, allocations: 7.984 kB / 0.5633 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.4027, allocations: 4 kB / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.4029, allocations: 164.2 kB / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4029, allocations: 4 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.4032, allocations: 16 kB / 0.5635 GB, free: 1.035 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001903/0.4051, allocations: 0.5025 MB / 0.564 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.4053, allocations: 67.95 kB / 0.5641 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4053, allocations: 0 / 0.5641 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4054, allocations: 39.92 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4058, allocations: 16.05 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005652/0.4063, allocations: 270.7 kB / 0.5644 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.4064, allocations: 108.5 kB / 0.5645 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.93e-05/0.4065, allocations: 20.95 kB / 0.5645 GB, free: 192 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.396e-05/0.4066, allocations: 19.42 kB / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4066, allocations: 0 / 0.5645 GB, free: 172 kB / 398.1 MB Notification: Performance of Templates: time 0.004734/0.4113, allocations: 1.449 MB / 0.5659 GB, free: 14.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.209127182140946]