Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001259/0.001259, allocations: 104.5 kB / 19.8 MB, free: 2.516 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.00139/0.00139, allocations: 215.1 kB / 23 MB, free: 5.609 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.538/1.538, allocations: 230.2 MB / 256.2 MB, free: 8.566 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.2488/0.2488, allocations: 46.9 MB / 359.4 MB, free: 4.867 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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 83.86 kB / 0.4947 GB, free: 8.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4858, allocations: 65.99 MB / 0.5591 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003665/0.4895, allocations: 1.613 MB / 0.5607 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4907, allocations: 0.5576 MB / 0.5612 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.869e-05/0.4908, allocations: 4 kB / 0.5612 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.4911, allocations: 23.8 kB / 0.5613 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.4914, allocations: 79.67 kB / 0.5613 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.4918, allocations: 107.7 kB / 0.5614 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.492, allocations: 67.83 kB / 0.5615 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.4921, allocations: 4 kB / 0.5615 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.4921, allocations: 27.84 kB / 0.5615 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.4922, allocations: 27.86 kB / 0.5616 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.4922, allocations: 0 / 0.5616 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.4923, allocations: 39.98 kB / 0.5616 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.4924, allocations: 11.94 kB / 0.5616 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.4925, allocations: 31.72 kB / 0.5616 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.4927, allocations: 78.06 kB / 0.5617 GB, free: 2.383 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4927, allocations: 0 / 0.5617 GB, free: 2.383 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4927, allocations: 0 / 0.5617 GB, free: 2.383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.4927, allocations: 4 kB / 0.5617 GB, free: 2.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.0006873/0.4934, allocations: 390.9 kB / 0.5621 GB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4934, allocations: 12.03 kB / 0.5621 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.4935, allocations: 8.891 kB / 0.5621 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.4939, allocations: 200.2 kB / 0.5623 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4939, allocations: 384 / 0.5623 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.4939, allocations: 4.375 kB / 0.5623 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.4941, allocations: 54.11 kB / 0.5624 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.4941, allocations: 192 / 0.5624 GB, free: 1.629 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.4941, allocations: 7.938 kB / 0.5624 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4941, allocations: 4 kB / 0.5624 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.4942, allocations: 23.98 kB / 0.5624 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005317/0.4948, allocations: 280.9 kB / 0.5627 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.495, allocations: 46.44 kB / 0.5627 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.4951, allocations: 20.94 kB / 0.5627 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4951, allocations: 0 / 0.5627 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.4952, allocations: 38.56 kB / 0.5628 GB, free: 1.145 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.4952, allocations: 0 / 0.5628 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006415/0.4958, allocations: 153.3 kB / 0.5629 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.4958, allocations: 51.41 kB / 0.5629 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.496, allocations: 165.2 kB / 0.5631 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4961, allocations: 29.7 kB / 0.5631 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.4962, allocations: 100.1 kB / 0.5632 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.4962, allocations: 11.86 kB / 0.5632 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.4962, allocations: 17.72 kB / 0.5633 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4964, allocations: 326.8 kB / 0.5636 GB, free: 264 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.4965, allocations: 19.98 kB / 0.5636 GB, free: 244 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.4965, allocations: 19.98 kB / 0.5636 GB, free: 224 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.4967, allocations: 68.94 kB / 0.5637 GB, free: 152 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4967, allocations: 0 / 0.5637 GB, free: 152 kB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001816/0.4969, allocations: 81.62 kB / 0.5638 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4969, allocations: 8 kB / 0.5638 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.4969, allocations: 0 / 0.5638 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4969, allocations: 0 / 0.5638 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.497, allocations: 15.92 kB / 0.5638 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.497, allocations: 0 / 0.5638 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.497, allocations: 11.98 kB / 0.5638 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.497, allocations: 4 kB / 0.5638 GB, free: 24 kB / 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 0.0002056/0.4972, allocations: 121.7 kB / 0.5639 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.4973, allocations: 7.953 kB / 0.5639 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.4975, allocations: 101.9 kB / 0.564 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4975, allocations: 0 / 0.564 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4975, allocations: 0 / 0.564 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4975, allocations: 4 kB / 0.564 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.4981, allocations: 362.4 kB / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4981, allocations: 0 / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.433e-05/0.4981, allocations: 11.98 kB / 0.5644 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4981, allocations: 288 / 0.5644 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.4981, allocations: 8 kB / 0.5644 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4981, allocations: 7.875 kB / 0.5644 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4981, allocations: 192 / 0.5644 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.4984, allocations: 191.4 kB / 0.5646 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4986, allocations: 85.05 kB / 0.5647 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.4986, allocations: 4 kB / 0.5647 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.4986, allocations: 7.922 kB / 0.5647 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.4987, allocations: 8 kB / 0.5647 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.4987, allocations: 0 / 0.5647 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.4988, allocations: 131.2 kB / 0.5648 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4988, allocations: 0 / 0.5648 GB, free: 14.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4991, allocations: 15.98 kB / 0.5648 GB, free: 14.87 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.001569/0.5006, allocations: 401.1 kB / 0.5652 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.5009, allocations: 51.95 kB / 0.5652 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5009, allocations: 0 / 0.5652 GB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.876e-05/0.501, allocations: 35.92 kB / 0.5653 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.5013, allocations: 18.59 kB / 0.5653 GB, free: 14.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/0.502, allocations: 206 kB / 0.5655 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.5025, allocations: 0.6924 MB / 0.5662 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.5025, allocations: 19.77 kB / 0.5662 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.5026, allocations: 15.44 kB / 0.5662 GB, free: 13.53 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5026, allocations: 0 / 0.5662 GB, free: 13.53 MB / 414.1 MB Notification: Performance of Templates: time 0.005021/0.5076, allocations: 1.162 MB / 0.5673 GB, free: 12.37 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.315641806460917]