Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001388/0.001388, 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.002073/0.002073, allocations: 206.4 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2438/0.2438, allocations: 46.95 MB / 360.8 MB, free: 3.902 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 83.88 kB / 0.4967 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.478, allocations: 66.09 MB / 0.5612 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003537/0.4816, allocations: 1.592 MB / 0.5627 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.4828, allocations: 0.5304 MB / 0.5633 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.4828, allocations: 0 / 0.5633 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.4831, allocations: 19.86 kB / 0.5633 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.4834, allocations: 79.62 kB / 0.5634 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.4837, allocations: 115.2 kB / 0.5635 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001848/0.4839, allocations: 67.78 kB / 0.5635 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.4841, allocations: 11.98 kB / 0.5635 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.884e-05/0.4841, allocations: 23.88 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.616e-05/0.4842, allocations: 27.84 kB / 0.5636 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.4842, allocations: 4 kB / 0.5636 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.4843, allocations: 31.98 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.4844, allocations: 15.92 kB / 0.5636 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.4844, allocations: 15.88 kB / 0.5637 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.4846, allocations: 82.05 kB / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4846, allocations: 0 / 0.5637 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4846, allocations: 3.938 kB / 0.5637 GB, free: 1.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.4846, allocations: 0 / 0.5637 GB, free: 1.309 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.0005781/0.4852, allocations: 317.8 kB / 0.564 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4853, allocations: 8.031 kB / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.4853, allocations: 8.891 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.4855, allocations: 132.8 kB / 0.5642 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.4855, allocations: 4.359 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.4856, allocations: 384 / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.4857, allocations: 50.25 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4857, allocations: 192 / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4857, allocations: 3.938 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.4858, allocations: 4 kB / 0.5642 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.4859, allocations: 31.91 kB / 0.5643 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.4863, allocations: 228.6 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.4866, allocations: 38.56 kB / 0.5645 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.597e-05/0.4866, allocations: 24.88 kB / 0.5646 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.4867, allocations: 0 / 0.5646 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.4867, allocations: 34.5 kB / 0.5646 GB, free: 336 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4867, allocations: 3.938 kB / 0.5646 GB, free: 332 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007447/0.4875, allocations: 153.5 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.4875, allocations: 55.34 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.4877, allocations: 148.9 kB / 0.5649 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.4878, allocations: 33.7 kB / 0.565 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.4878, allocations: 92.14 kB / 0.5651 GB, free: 15.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.4879, allocations: 19.78 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.4879, allocations: 21.66 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.4881, allocations: 322.8 kB / 0.5654 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.397e-05/0.4882, allocations: 23.98 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.4883, allocations: 19.98 kB / 0.5654 GB, free: 15.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.4884, allocations: 52.83 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.4884, allocations: 3.938 kB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002056/0.4886, allocations: 81.86 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4887, allocations: 4 kB / 0.5656 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4887, allocations: 7.938 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.4887, allocations: 8 kB / 0.5656 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.4888, allocations: 15.98 kB / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.4888, allocations: 0 / 0.5656 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.4888, allocations: 4 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.4888, allocations: 0 / 0.5656 GB, free: 15.21 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 0.000125/0.4889, allocations: 125.8 kB / 0.5657 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.489, allocations: 7.953 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.4893, allocations: 94.05 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4893, allocations: 4 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4893, allocations: 7.938 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4893, allocations: 0 / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004545/0.4898, allocations: 294.2 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4898, allocations: 0 / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.4898, allocations: 11.98 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4898, allocations: 4.281 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.4898, allocations: 4 kB / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4898, allocations: 0 / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4898, allocations: 0 / 0.5661 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.4901, allocations: 195.3 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.4902, allocations: 7.953 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.4902, allocations: 0 / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.4902, allocations: 7.984 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.4903, allocations: 4 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.4903, allocations: 4.188 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.4904, allocations: 111.2 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4904, allocations: 0 / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000263/0.4907, allocations: 23.88 kB / 0.5665 GB, free: 14.25 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.001827/0.4925, allocations: 430.2 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.4928, allocations: 59.89 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.4928, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.166e-05/0.4928, allocations: 23.98 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.4933, allocations: 17.55 kB / 0.567 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005088/0.4938, allocations: 190.2 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.4939, allocations: 83.06 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.302e-05/0.494, allocations: 19.75 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/0.494, allocations: 15.44 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.494, allocations: 0 / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of Templates: time 0.004636/0.4986, allocations: 1.188 MB / 0.5684 GB, free: 12.34 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.441383011639118]