Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001422/0.001422, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.00155/0.00155, allocations: 206.8 kB / 23.73 MB, free: 4.398 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2275/0.2275, allocations: 44.94 MB / 358.8 MB, free: 6.062 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [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.00313/0.00313, allocations: 63.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3944/0.3975, allocations: 65.48 MB / 0.5575 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003442/0.401, allocations: 1.653 MB / 0.5591 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.4021, allocations: 0.5271 MB / 0.5596 GB, free: 5.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.231e-05/0.4022, allocations: 4 kB / 0.5596 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006946/0.4028, allocations: 467.1 kB / 0.5601 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.4034, allocations: 291.3 kB / 0.5603 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.4038, allocations: 131.4 kB / 0.5605 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003335/0.4041, allocations: 175.6 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4043, allocations: 11.98 kB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.4044, allocations: 119.7 kB / 0.5608 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.4048, allocations: 247.5 kB / 0.561 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.4048, allocations: 4 kB / 0.561 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.4049, allocations: 51.92 kB / 0.561 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.4051, allocations: 87.69 kB / 0.5611 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.342e-05/0.4051, allocations: 67.25 kB / 0.5612 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005291/0.4057, allocations: 288.9 kB / 0.5615 GB, free: 3.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4057, allocations: 4 kB / 0.5615 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.4057, allocations: 0 / 0.5615 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.4057, allocations: 0 / 0.5615 GB, free: 3.402 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.001118/0.4068, allocations: 0.5854 MB / 0.562 GB, free: 2.785 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.4069, allocations: 8.031 kB / 0.5621 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.407, allocations: 48.66 kB / 0.5621 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.4073, allocations: 234.8 kB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.4073, allocations: 12.31 kB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.4074, allocations: 8.359 kB / 0.5623 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.4075, allocations: 53.81 kB / 0.5624 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.4076, allocations: 4 kB / 0.5624 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4076, allocations: 4 kB / 0.5624 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4076, allocations: 0 / 0.5624 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.4077, allocations: 31.97 kB / 0.5624 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.4083, allocations: 340.3 kB / 0.5628 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.4084, allocations: 42.55 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.486e-05/0.4085, allocations: 20.94 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.4085, allocations: 7.969 kB / 0.5628 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.4086, allocations: 30.56 kB / 0.5629 GB, free: 1.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4086, allocations: 4 kB / 0.5629 GB, free: 1.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001025/0.4096, allocations: 304.5 kB / 0.5632 GB, free: 1.566 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4097, allocations: 59.41 kB / 0.5632 GB, free: 1.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.4107, allocations: 0.8613 MB / 0.564 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.4108, allocations: 29.7 kB / 0.5641 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.411, allocations: 220 kB / 0.5643 GB, free: 376 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.4111, allocations: 23.8 kB / 0.5643 GB, free: 352 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.4111, allocations: 21.72 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002847/0.4114, allocations: 362.8 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.4116, allocations: 27.97 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.4117, allocations: 28.05 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.4119, allocations: 64.77 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4119, allocations: 4 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003554/0.4122, allocations: 137.3 kB / 0.5649 GB, free: 15.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.4123, allocations: 4 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4123, allocations: 4 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.4123, allocations: 0 / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.4124, allocations: 15.98 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4124, allocations: 3.938 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.948e-05/0.4125, allocations: 4 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.4125, allocations: 4 kB / 0.565 GB, free: 15.65 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 (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.0002979/0.4128, allocations: 221.7 kB / 0.5652 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.4129, allocations: 47.67 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004726/0.4134, allocations: 157.4 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.4134, allocations: 4 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4134, allocations: 3.938 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4134, allocations: 0 / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008646/0.4143, allocations: 442.9 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.4143, allocations: 7.984 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.559e-05/0.4144, allocations: 16 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-06/0.4144, allocations: 3.938 kB / 0.5658 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.4144, allocations: 11.92 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4144, allocations: 0 / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4144, allocations: 3.938 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.4148, allocations: 244.5 kB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.4149, allocations: 43.7 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.415, allocations: 3.938 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.4151, allocations: 4 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.4151, allocations: 11.98 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.4151, allocations: 0 / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009533/0.4161, allocations: 0.6472 MB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4161, allocations: 0 / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.4165, allocations: 31.98 kB / 0.5668 GB, free: 13.69 MB / 414.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.002415/0.4189, allocations: 498.8 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003156/0.4192, allocations: 55.97 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4192, allocations: 4 kB / 0.5673 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.4194, allocations: 43.97 kB / 0.5674 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.42, allocations: 25.95 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.4219, allocations: 0.8191 MB / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4223, allocations: 224.1 kB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.507e-05/0.4223, allocations: 20.95 kB / 0.5684 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.4224, allocations: 11.44 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4224, allocations: 4 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Templates: time 0.00853/0.4309, allocations: 1.909 MB / 0.5703 GB, free: 10.26 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.370223658159375]