Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001399/0.001399, 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.00141/0.00141, allocations: 207.4 kB / 23.73 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2399/0.2399, allocations: 46.95 MB / 360.8 MB, free: 3.922 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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 83.86 kB / 0.4967 GB, free: 7.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4834, allocations: 66.08 MB / 0.5612 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.005272/0.4887, allocations: 1.59 MB / 0.5627 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.4921, allocations: 1.232 MB / 0.5639 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.4922, allocations: 4 kB / 0.5639 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.4926, allocations: 19.8 kB / 0.564 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.4932, allocations: 91.61 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.4936, allocations: 90.88 kB / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000243/0.4938, allocations: 63.84 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001958/0.494, allocations: 11.98 kB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.4941, allocations: 27.86 kB / 0.5642 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4943, allocations: 31.78 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.239e-05/0.4943, allocations: 4 kB / 0.5643 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.4945, allocations: 91.94 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.4946, allocations: 15.92 kB / 0.5644 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.4947, allocations: 15.88 kB / 0.5644 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.495, allocations: 145.9 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.495, allocations: 4 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.495, allocations: 0 / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.495, allocations: 0 / 0.5645 GB, free: 0.543 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.0007302/0.4958, allocations: 329.7 kB / 0.5648 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.4958, allocations: 8.031 kB / 0.5649 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.4959, allocations: 16.83 kB / 0.5649 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.4962, allocations: 130.4 kB / 0.565 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.4962, allocations: 4.375 kB / 0.565 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.4962, allocations: 384 / 0.565 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.4965, allocations: 89.61 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4965, allocations: 4.188 kB / 0.5651 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.4965, allocations: 3.938 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4965, allocations: 4 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.4966, allocations: 23.97 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.4971, allocations: 220.5 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.4973, allocations: 46.5 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.4974, allocations: 16.89 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.4974, allocations: 3.984 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.4974, allocations: 38.56 kB / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.4974, allocations: 0 / 0.5654 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006135/0.4981, allocations: 137.4 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.4981, allocations: 77.11 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.4983, allocations: 143.9 kB / 0.5658 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.4983, allocations: 29.7 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.4984, allocations: 92.12 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.4984, allocations: 23.8 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.4985, allocations: 25.7 kB / 0.5659 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4986, allocations: 318.8 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.541e-05/0.4987, allocations: 12.05 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.4988, allocations: 71.39 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4989, allocations: 48.66 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4989, allocations: 0 / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.4991, allocations: 85.64 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4991, allocations: 4 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.4991, allocations: 4 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4992, allocations: 288 / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.4992, allocations: 11.98 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4992, allocations: 0 / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.4993, allocations: 8 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.4993, allocations: 4 kB / 0.5665 GB, free: 14.34 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.0001084/0.4994, allocations: 123 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.4994, allocations: 11.94 kB / 0.5666 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.4997, allocations: 90.05 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4997, allocations: 4 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4997, allocations: 0 / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4997, allocations: 0 / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.5001, allocations: 294.1 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5001, allocations: 4.25 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.455e-05/0.5002, allocations: 15.98 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.5002, allocations: 4 kB / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.5002, allocations: 0 / 0.567 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5002, allocations: 7.984 kB / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5002, allocations: 0 / 0.567 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.5005, allocations: 183.3 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.5005, allocations: 7.953 kB / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.5005, allocations: 0 / 0.5672 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.5006, allocations: 7.984 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.5006, allocations: 4 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.5006, allocations: 8 kB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.5007, allocations: 113.3 kB / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5007, allocations: 0 / 0.5673 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.501, allocations: 43.8 kB / 0.5674 GB, free: 13.36 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.001973/0.503, allocations: 0.5073 MB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002281/0.5032, allocations: 43.97 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5032, allocations: 0 / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.049e-05/0.5033, allocations: 35.84 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.5037, allocations: 23.53 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.5042, allocations: 165.6 kB / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.658e-05/0.5043, allocations: 75.08 kB / 0.5682 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.876e-05/0.5044, allocations: 20 kB / 0.5682 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.5044, allocations: 11.44 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5044, allocations: 7.938 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of Templates: time 0.006432/0.5108, allocations: 1.81 MB / 0.57 GB, free: 10.82 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.333762319758534]