Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001451/0.001451, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001801/0.001801, allocations: 204.7 kB / 23.72 MB, free: 4.391 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.512/1.512, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.2499/0.2499, allocations: 46.94 MB / 360.8 MB, free: 3.91 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.Test3,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 83.86 kB / 0.4967 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4904, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003453/0.4938, allocations: 1.605 MB / 0.5628 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.495, allocations: 0.5344 MB / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.4951, allocations: 0 / 0.5633 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003376/0.4955, allocations: 79.7 kB / 0.5634 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003658/0.4958, allocations: 107.6 kB / 0.5635 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.4961, allocations: 111.7 kB / 0.5636 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.4963, allocations: 79.81 kB / 0.5637 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.4965, allocations: 23.58 kB / 0.5637 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.948e-05/0.4966, allocations: 27.92 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.4967, allocations: 55.81 kB / 0.5638 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.4967, allocations: 4 kB / 0.5638 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4968, allocations: 39.98 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.816e-05/0.4969, allocations: 23.91 kB / 0.5638 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.4969, allocations: 23.81 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.4972, allocations: 114.2 kB / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.4972, allocations: 0 / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.4972, allocations: 0 / 0.564 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.4972, allocations: 0 / 0.564 GB, free: 1.129 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.000578/0.4978, allocations: 329.6 kB / 0.5643 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4978, allocations: 16.03 kB / 0.5643 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/0.4978, allocations: 12.84 kB / 0.5643 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.4981, allocations: 150.3 kB / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.4981, allocations: 384 / 0.5644 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.4981, allocations: 8.359 kB / 0.5644 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.4983, allocations: 58.17 kB / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4983, allocations: 192 / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.4983, allocations: 7.938 kB / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4983, allocations: 0 / 0.5645 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.4984, allocations: 23.98 kB / 0.5645 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.4989, allocations: 240.5 kB / 0.5648 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.499, allocations: 58.42 kB / 0.5648 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.499, allocations: 16.94 kB / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.499, allocations: 0 / 0.5648 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4991, allocations: 38.56 kB / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.4991, allocations: 0 / 0.5649 GB, free: 76 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009513/0.5, allocations: 241.2 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.5001, allocations: 51.41 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/0.5003, allocations: 203.3 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.5003, allocations: 25.7 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.5004, allocations: 108.1 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.5005, allocations: 23.75 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.5005, allocations: 29.7 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.5007, allocations: 322.8 kB / 0.5658 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.5008, allocations: 35.92 kB / 0.5659 GB, free: 15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.739e-05/0.5008, allocations: 31.97 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.501, allocations: 72.77 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.501, allocations: 4 kB / 0.566 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002197/0.5012, allocations: 113.6 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5012, allocations: 4 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5013, allocations: 4 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.5013, allocations: 4 kB / 0.5661 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.5014, allocations: 19.92 kB / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5014, allocations: 0 / 0.5661 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.5014, allocations: 4 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.5014, allocations: 4 kB / 0.5661 GB, free: 14.73 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.0001261/0.5016, allocations: 129.8 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.5016, allocations: 11.91 kB / 0.5662 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.5019, allocations: 139.3 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.5019, allocations: 0 / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5019, allocations: 4 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.5019, allocations: 0 / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.5025, allocations: 362.8 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5025, allocations: 432 / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.5025, allocations: 16 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.5025, allocations: 3.984 kB / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.5026, allocations: 32 / 0.5667 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5026, allocations: 4 kB / 0.5668 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5026, allocations: 7.938 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.5028, allocations: 216.2 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.5029, allocations: 11.94 kB / 0.567 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.5029, allocations: 3.984 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.915e-05/0.5029, allocations: 4 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.503, allocations: 15.92 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.503, allocations: 4 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.5031, allocations: 156.9 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5031, allocations: 0 / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.5034, allocations: 23.94 kB / 0.5672 GB, free: 13.55 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.001826/0.5052, allocations: 478.8 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000241/0.5055, allocations: 75.89 kB / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5055, allocations: 0 / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.5056, allocations: 35.97 kB / 0.5677 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.506, allocations: 26.59 kB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.5065, allocations: 255.1 kB / 0.568 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.5066, allocations: 100.2 kB / 0.5681 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.513e-05/0.5067, allocations: 20.95 kB / 0.5681 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.5067, allocations: 19.42 kB / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5067, allocations: 0 / 0.5681 GB, free: 12.69 MB / 414.1 MB Notification: Performance of Templates: time 0.00458/0.5113, allocations: 1.438 MB / 0.5695 GB, free: 11.26 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.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.3813135121017694]