Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001304/0.001304, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001568/0.001568, allocations: 213.1 kB / 23.73 MB, free: 4.16 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.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.94 MB / 360.8 MB, free: 3.949 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 79.86 kB / 0.4967 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4845, allocations: 66.07 MB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003906/0.4884, allocations: 1.595 MB / 0.5627 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.4896, allocations: 0.5226 MB / 0.5633 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.31e-05/0.4896, allocations: 4 kB / 0.5633 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.4899, allocations: 23.83 kB / 0.5633 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000334/0.4902, allocations: 75.64 kB / 0.5634 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.4906, allocations: 119.6 kB / 0.5635 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.4908, allocations: 63.84 kB / 0.5635 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.4909, allocations: 15.97 kB / 0.5635 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.491, allocations: 23.86 kB / 0.5636 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.673e-05/0.4911, allocations: 19.88 kB / 0.5636 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.4911, allocations: 0 / 0.5636 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.4912, allocations: 39.97 kB / 0.5636 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.4913, allocations: 15.92 kB / 0.5636 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.4913, allocations: 15.88 kB / 0.5637 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.4916, allocations: 86 kB / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4916, allocations: 0 / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4916, allocations: 0 / 0.5637 GB, free: 1.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.4916, allocations: 0 / 0.5637 GB, free: 1.379 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.0005738/0.4922, allocations: 313.9 kB / 0.564 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4922, allocations: 8.031 kB / 0.564 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.4922, allocations: 8.891 kB / 0.564 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.4925, allocations: 132.6 kB / 0.5642 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.4925, allocations: 4.375 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.4925, allocations: 4.375 kB / 0.5642 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.4927, allocations: 58.17 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4927, allocations: 4.125 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4927, allocations: 3.938 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4927, allocations: 0 / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4928, allocations: 31.97 kB / 0.5643 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.4933, allocations: 220.6 kB / 0.5645 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.4935, allocations: 46.5 kB / 0.5645 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.009e-05/0.4936, allocations: 24.88 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.4936, allocations: 4 kB / 0.5646 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4936, allocations: 30.56 kB / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.4936, allocations: 0 / 0.5646 GB, free: 400 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006723/0.4943, allocations: 153.4 kB / 0.5647 GB, free: 240 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.4944, allocations: 51.41 kB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4945, allocations: 152.9 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.4946, allocations: 29.64 kB / 0.565 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.4946, allocations: 96.12 kB / 0.565 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.4947, allocations: 27.78 kB / 0.5651 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.4947, allocations: 17.72 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4949, allocations: 322.8 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.495, allocations: 19.98 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.495, allocations: 19.98 kB / 0.5654 GB, free: 15.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.4952, allocations: 52.81 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4952, allocations: 7.875 kB / 0.5655 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002029/0.4954, allocations: 89.62 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4954, allocations: 4 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4954, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4954, allocations: 0 / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.4955, allocations: 15.98 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4955, allocations: 0 / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.4955, allocations: 7.984 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.4955, allocations: 0 / 0.5656 GB, free: 15.28 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 (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.986e-05/0.4956, allocations: 121.8 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.4957, allocations: 7.953 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002635/0.4959, allocations: 102 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4959, allocations: 320 / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4959, allocations: 4 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4959, allocations: 3.938 kB / 0.5658 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.4964, allocations: 306.1 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4964, allocations: 3.984 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.4964, allocations: 8 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4964, allocations: 4 kB / 0.5661 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4965, allocations: 4 kB / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4965, allocations: 0 / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4965, allocations: 0 / 0.5661 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.4967, allocations: 183.4 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.4967, allocations: 7.938 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.4968, allocations: 8 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.358e-05/0.4968, allocations: 0 / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.4969, allocations: 7.984 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.4969, allocations: 4 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.497, allocations: 115.3 kB / 0.5665 GB, free: 14.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.497, allocations: 3.938 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.4972, allocations: 19.92 kB / 0.5665 GB, free: 14.3 MB / 414.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.00169/0.4989, allocations: 433.7 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.4992, allocations: 47.91 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4992, allocations: 0 / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.903e-05/0.4993, allocations: 31.92 kB / 0.567 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.4998, allocations: 25.25 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005959/0.5004, allocations: 190.2 kB / 0.5672 GB, free: 13.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.5005, allocations: 83.08 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.272e-05/0.5006, allocations: 23.75 kB / 0.5673 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.5006, allocations: 11.44 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5006, allocations: 0 / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of Templates: time 0.004756/0.5054, allocations: 1.181 MB / 0.5684 GB, free: 12.4 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.349390355870128]