Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002106/0.002106, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00236/0.00236, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2366/0.2366, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 75.88 kB / 0.4968 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3814, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003841/0.3852, allocations: 1.709 MB / 0.5629 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3867, allocations: 0.5576 MB / 0.5634 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.3868, allocations: 0 / 0.5634 GB, free: 2.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.3871, allocations: 75.77 kB / 0.5635 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.3875, allocations: 103.5 kB / 0.5636 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.3878, allocations: 135 kB / 0.5637 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.388, allocations: 91.73 kB / 0.5638 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.3882, allocations: 20.22 kB / 0.5638 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.535e-05/0.3882, allocations: 43.83 kB / 0.5639 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.3883, allocations: 47.83 kB / 0.5639 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.3884, allocations: 4 kB / 0.5639 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3885, allocations: 59.91 kB / 0.564 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.199e-05/0.3886, allocations: 27.92 kB / 0.564 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.3886, allocations: 35.67 kB / 0.5641 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.3889, allocations: 114.2 kB / 0.5642 GB, free: 2.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.3889, allocations: 4 kB / 0.5642 GB, free: 2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3889, allocations: 0 / 0.5642 GB, free: 2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.3889, allocations: 0 / 0.5642 GB, free: 2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007038/0.3896, allocations: 430.6 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3896, allocations: 12.02 kB / 0.5646 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.3897, allocations: 20.83 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.3899, allocations: 204.8 kB / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.39, allocations: 384 / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.39, allocations: 8.375 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.3902, allocations: 58.23 kB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3902, allocations: 4.172 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.3903, allocations: 7.875 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3903, allocations: 4 kB / 0.5649 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3904, allocations: 35.97 kB / 0.5649 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.3909, allocations: 312.7 kB / 0.5652 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.3912, allocations: 58.58 kB / 0.5653 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/0.3913, allocations: 24.97 kB / 0.5653 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3913, allocations: 4 kB / 0.5653 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3913, allocations: 34.55 kB / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.3913, allocations: 0 / 0.5653 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00169/0.393, allocations: 397.3 kB / 0.5657 GB, free: 252 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.3931, allocations: 59.34 kB / 0.5658 GB, free: 180 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.3934, allocations: 214.4 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3934, allocations: 29.7 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3936, allocations: 108.1 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.3936, allocations: 39.62 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.3937, allocations: 25.72 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3939, allocations: 326.8 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.394, allocations: 43.97 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3942, allocations: 43.97 kB / 0.5666 GB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.3944, allocations: 100.8 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3944, allocations: 0 / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004348/0.3949, allocations: 145.5 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3949, allocations: 6.344 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3949, allocations: 7.938 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3949, allocations: 3.984 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.395, allocations: 23.98 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.395, allocations: 0 / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.3951, allocations: 19.92 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.3951, allocations: 0 / 0.5669 GB, free: 15.02 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 (11): * Single equations (assignments): 11 * 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.0001648/0.3953, allocations: 133.8 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.414e-05/0.3953, allocations: 15.91 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/0.3957, allocations: 162.9 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3957, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.3957, allocations: 0 / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3958, allocations: 3.938 kB / 0.5672 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008063/0.3966, allocations: 483.9 kB / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3966, allocations: 0 / 0.5676 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.3967, allocations: 27.92 kB / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3967, allocations: 0 / 0.5676 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3967, allocations: 4 kB / 0.5676 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3967, allocations: 256 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3967, allocations: 8 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.3971, allocations: 253 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.3972, allocations: 96.94 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.3972, allocations: 8 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.3973, allocations: 8 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.3974, allocations: 7.984 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.3974, allocations: 4 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3975, allocations: 168.3 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3975, allocations: 3.938 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.3978, allocations: 27.92 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001809/0.3996, allocations: 457.5 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.4, allocations: 99.94 kB / 0.5687 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4, allocations: 3.938 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.4002, allocations: 63.83 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4006, allocations: 19.92 kB / 0.5688 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/0.4013, allocations: 312.7 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4017, allocations: 0.7196 MB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.4017, allocations: 16.5 kB / 0.5698 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.4018, allocations: 19.42 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4018, allocations: 0 / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of Templates: time 0.004916/0.4067, allocations: 1.608 MB / 0.5714 GB, free: 10.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.217497328296304]