Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.001414/0.001414, 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.001626/0.001626, allocations: 210.6 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.539/1.539, 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.263/0.263, allocations: 44.93 MB / 358.8 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") [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.002132/0.002132, allocations: 68.08 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3867, allocations: 65.48 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.00326/0.39, allocations: 1.589 MB / 0.559 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.392, allocations: 1.232 MB / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.392, allocations: 0 / 0.5602 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.3923, allocations: 19.84 kB / 0.5602 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003281/0.3926, allocations: 91.62 kB / 0.5603 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3928, allocations: 87.7 kB / 0.5604 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.393, allocations: 75.75 kB / 0.5605 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3931, allocations: 8 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.313e-05/0.3932, allocations: 19.92 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3933, allocations: 31.84 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.3933, allocations: 4 kB / 0.5606 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.3935, allocations: 87.89 kB / 0.5606 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.3935, allocations: 19.91 kB / 0.5607 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.524e-05/0.3936, allocations: 19.88 kB / 0.5607 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.3938, allocations: 141.9 kB / 0.5608 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3938, allocations: 0 / 0.5608 GB, free: 4.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3938, allocations: 7.938 kB / 0.5608 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3938, allocations: 0 / 0.5608 GB, free: 4.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004939/0.3943, allocations: 325.7 kB / 0.5611 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3944, allocations: 8.031 kB / 0.5611 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.3944, allocations: 12.89 kB / 0.5611 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.3946, allocations: 137.2 kB / 0.5613 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.3946, allocations: 384 / 0.5613 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3946, allocations: 8.359 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.3948, allocations: 97.22 kB / 0.5614 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3948, allocations: 3.938 kB / 0.5614 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.3948, allocations: 0 / 0.5614 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3948, allocations: 0 / 0.5614 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.681e-05/0.3949, allocations: 19.98 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.3953, allocations: 224.5 kB / 0.5616 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.3955, allocations: 42.5 kB / 0.5617 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.3955, allocations: 20.94 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.3955, allocations: 4 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.3956, allocations: 30.56 kB / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3956, allocations: 0 / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005418/0.3961, allocations: 137.4 kB / 0.5618 GB, free: 2.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.3962, allocations: 85.05 kB / 0.5619 GB, free: 2.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3963, allocations: 145.8 kB / 0.5621 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.3963, allocations: 29.7 kB / 0.5621 GB, free: 2.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.3964, allocations: 92.14 kB / 0.5622 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.3964, allocations: 27.77 kB / 0.5622 GB, free: 2.469 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.3965, allocations: 21.66 kB / 0.5622 GB, free: 2.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3966, allocations: 326.8 kB / 0.5625 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.3967, allocations: 15.98 kB / 0.5626 GB, free: 2.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.195e-05/0.3968, allocations: 59.41 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.3969, allocations: 49.02 kB / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3969, allocations: 0 / 0.5627 GB, free: 1.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001822/0.3971, allocations: 85.59 kB / 0.5627 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3971, allocations: 4 kB / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3971, allocations: 0 / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3971, allocations: 0 / 0.5627 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.631e-05/0.3972, allocations: 15.98 kB / 0.5628 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3972, allocations: 0 / 0.5628 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.3972, allocations: 8 kB / 0.5628 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.3972, allocations: 0 / 0.5628 GB, free: 1.859 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 (5): * Single equations (assignments): 5 * 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 9.978e-05/0.3973, allocations: 125.8 kB / 0.5629 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.3974, allocations: 7.953 kB / 0.5629 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.3976, allocations: 93.98 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3976, allocations: 0 / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3976, allocations: 0 / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3976, allocations: 0 / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.398, allocations: 294.2 kB / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.398, allocations: 0 / 0.5633 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.3981, allocations: 15.94 kB / 0.5633 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3981, allocations: 4 kB / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.3981, allocations: 3.984 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3981, allocations: 0 / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3981, allocations: 0 / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3983, allocations: 179.6 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.3984, allocations: 7.953 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.3984, allocations: 3.984 kB / 0.5635 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.3985, allocations: 4 kB / 0.5635 GB, free: 1.055 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.3985, allocations: 20.2 kB / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.3985, allocations: 0 / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.961e-05/0.3986, allocations: 113.6 kB / 0.5636 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3986, allocations: 0 / 0.5636 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.3989, allocations: 43.8 kB / 0.5636 GB, free: 0.8828 MB / 398.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 (5): * Single equations (assignments): 5 * 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.001856/0.4007, allocations: 0.5265 MB / 0.5642 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.4009, allocations: 43.97 kB / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4009, allocations: 0 / 0.5642 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.401, allocations: 23.98 kB / 0.5642 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.4013, allocations: 22.73 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.4018, allocations: 165.5 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.941e-05/0.4018, allocations: 84.64 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.303e-05/0.4019, allocations: 15.75 kB / 0.5645 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.4019, allocations: 23.42 kB / 0.5645 GB, free: 164 kB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4019, allocations: 3.938 kB / 0.5645 GB, free: 160 kB / 398.1 MB Notification: Performance of Templates: time 0.005134/0.4071, allocations: 1.805 MB / 0.5663 GB, free: 14.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.4097549226135015]