Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.001856/0.001856, 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.002222/0.002222, allocations: 209.8 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2283/0.2283, allocations: 44.93 MB / 358.8 MB, free: 6.066 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.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") [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.002101/0.002101, allocations: 75.88 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4049, allocations: 65.47 MB / 0.5575 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003326/0.4082, allocations: 1.597 MB / 0.559 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.4093, allocations: 0.5231 MB / 0.5596 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.4094, allocations: 4 kB / 0.5596 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.4097, allocations: 79.7 kB / 0.5596 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.41, allocations: 99.64 kB / 0.5597 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.4102, allocations: 99.44 kB / 0.5598 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.4104, allocations: 83.75 kB / 0.5599 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4105, allocations: 11.66 kB / 0.5599 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.728e-05/0.4106, allocations: 39.89 kB / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.4107, allocations: 63.8 kB / 0.56 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.4107, allocations: 4 kB / 0.56 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-05/0.4108, allocations: 47.92 kB / 0.5601 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.4109, allocations: 23.88 kB / 0.5601 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.4109, allocations: 23.78 kB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.4111, allocations: 102.3 kB / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4111, allocations: 0 / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4111, allocations: 0 / 0.5602 GB, free: 4.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.4111, allocations: 0 / 0.5602 GB, free: 4.672 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.0005111/0.4116, allocations: 349.6 kB / 0.5605 GB, free: 4.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4117, allocations: 8.031 kB / 0.5605 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.4117, allocations: 12.84 kB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4119, allocations: 150.9 kB / 0.5607 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.4119, allocations: 8.375 kB / 0.5607 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.412, allocations: 384 / 0.5607 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4121, allocations: 53.81 kB / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.4121, allocations: 4 kB / 0.5608 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.4121, allocations: 4 kB / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.4121, allocations: 0 / 0.5608 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.4123, allocations: 35.95 kB / 0.5608 GB, free: 3.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.4126, allocations: 240.4 kB / 0.561 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.4127, allocations: 38.56 kB / 0.5611 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.4128, allocations: 16.86 kB / 0.5611 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.4128, allocations: 4.078 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.4128, allocations: 34.56 kB / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.4128, allocations: 0 / 0.5611 GB, free: 3.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008858/0.4137, allocations: 225.2 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.4138, allocations: 51.41 kB / 0.5614 GB, free: 3.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002413/0.414, allocations: 206.3 kB / 0.5616 GB, free: 3.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.414, allocations: 25.7 kB / 0.5616 GB, free: 3.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.4141, allocations: 116 kB / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.4141, allocations: 35.8 kB / 0.5618 GB, free: 2.934 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.4142, allocations: 21.72 kB / 0.5618 GB, free: 2.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4143, allocations: 330.8 kB / 0.5621 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.4144, allocations: 27.98 kB / 0.5621 GB, free: 2.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.4145, allocations: 28.03 kB / 0.5621 GB, free: 2.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4146, allocations: 56.84 kB / 0.5622 GB, free: 2.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4146, allocations: 0 / 0.5622 GB, free: 2.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002077/0.4148, allocations: 105.5 kB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4149, allocations: 10.19 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4149, allocations: 0 / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4149, allocations: 0 / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.415, allocations: 19.98 kB / 0.5623 GB, free: 2.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.415, allocations: 3.938 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.415, allocations: 7.984 kB / 0.5623 GB, free: 2.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.415, allocations: 3.938 kB / 0.5623 GB, free: 2.309 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.0001094/0.4151, allocations: 125.8 kB / 0.5625 GB, free: 2.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.4152, allocations: 16.27 kB / 0.5625 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.4155, allocations: 127 kB / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4155, allocations: 0 / 0.5626 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4155, allocations: 3.984 kB / 0.5626 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4155, allocations: 3.984 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.416, allocations: 346.9 kB / 0.5629 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.416, allocations: 0 / 0.5629 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.892e-05/0.4161, allocations: 12 kB / 0.5629 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.4161, allocations: 4 kB / 0.5629 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4161, allocations: 12.02 kB / 0.563 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4161, allocations: 3.938 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4161, allocations: 0 / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.4164, allocations: 216.6 kB / 0.5632 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.4164, allocations: 11.91 kB / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.4164, allocations: 0 / 0.5632 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.4165, allocations: 7.938 kB / 0.5632 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.4165, allocations: 7.984 kB / 0.5632 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.4165, allocations: 4 kB / 0.5632 GB, free: 1.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001575/0.4167, allocations: 172.2 kB / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4167, allocations: 0 / 0.5634 GB, free: 1.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.4169, allocations: 23.98 kB / 0.5634 GB, free: 1.148 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.001829/0.4188, allocations: 496.6 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002141/0.419, allocations: 55.97 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.419, allocations: 0 / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.4191, allocations: 39.91 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.4194, allocations: 20.75 kB / 0.564 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.4199, allocations: 262.6 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.42, allocations: 100.7 kB / 0.5643 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.4201, allocations: 16.95 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.4201, allocations: 11.44 kB / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.4201, allocations: 0 / 0.5643 GB, free: 340 kB / 398.1 MB Notification: Performance of Templates: time 0.005073/0.4252, allocations: 1.419 MB / 0.5657 GB, free: 14.92 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.351667992770672]