Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001387/0.001387, allocations: 104.7 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.001337/0.001337, allocations: 212.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.551/1.551, 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.2458/0.2458, allocations: 46.9 MB / 359.4 MB, free: 4.879 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.Test30,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.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 83.84 kB / 0.4947 GB, free: 8.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4813, allocations: 65.97 MB / 0.5591 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00439/0.4857, allocations: 1.644 MB / 0.5607 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.4869, allocations: 0.5537 MB / 0.5613 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.005e-05/0.487, allocations: 0 / 0.5613 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.4873, allocations: 79.7 kB / 0.5613 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.4876, allocations: 99.64 kB / 0.5614 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.4879, allocations: 91.69 kB / 0.5615 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.4881, allocations: 87.77 kB / 0.5616 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.4882, allocations: 22.64 kB / 0.5616 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.826e-05/0.4883, allocations: 31.91 kB / 0.5616 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.4884, allocations: 55.81 kB / 0.5617 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.4885, allocations: 4 kB / 0.5617 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.4886, allocations: 43.98 kB / 0.5617 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.67e-05/0.4886, allocations: 23.91 kB / 0.5618 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.4887, allocations: 43.61 kB / 0.5618 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.4889, allocations: 99.3 kB / 0.5619 GB, free: 2.203 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4889, allocations: 0 / 0.5619 GB, free: 2.203 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4889, allocations: 4 kB / 0.5619 GB, free: 2.199 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.4889, allocations: 0 / 0.5619 GB, free: 2.199 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.0008024/0.4897, allocations: 421.5 kB / 0.5623 GB, free: 1.738 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4898, allocations: 8.031 kB / 0.5623 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.4898, allocations: 12.84 kB / 0.5623 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.4902, allocations: 200.9 kB / 0.5625 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-06/0.4902, allocations: 384 / 0.5625 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.204e-05/0.4902, allocations: 16.25 kB / 0.5625 GB, free: 1.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.4904, allocations: 62.2 kB / 0.5626 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4904, allocations: 192 / 0.5626 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4904, allocations: 3.938 kB / 0.5626 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4904, allocations: 4 kB / 0.5626 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.4905, allocations: 23.98 kB / 0.5626 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006385/0.4912, allocations: 292.8 kB / 0.5629 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.4913, allocations: 46.5 kB / 0.563 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.4914, allocations: 20.94 kB / 0.563 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4914, allocations: 0 / 0.563 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.4914, allocations: 30.56 kB / 0.563 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4914, allocations: 0 / 0.563 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009311/0.4924, allocations: 225.3 kB / 0.5632 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.4924, allocations: 59.39 kB / 0.5633 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.4927, allocations: 210.4 kB / 0.5635 GB, free: 412 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.4927, allocations: 29.64 kB / 0.5635 GB, free: 376 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.4928, allocations: 112 kB / 0.5636 GB, free: 260 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.4928, allocations: 27.75 kB / 0.5636 GB, free: 232 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.4929, allocations: 29.7 kB / 0.5637 GB, free: 196 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003077/0.4932, allocations: 330.8 kB / 0.564 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.608e-05/0.4932, allocations: 19.98 kB / 0.564 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.4933, allocations: 23.98 kB / 0.564 GB, free: 15.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4935, allocations: 56.83 kB / 0.5641 GB, free: 15.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.4935, allocations: 0 / 0.5641 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002138/0.4937, allocations: 109.8 kB / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4937, allocations: 4 kB / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4937, allocations: 0 / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4937, allocations: 4 kB / 0.5642 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4938, allocations: 23.92 kB / 0.5642 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4938, allocations: 0 / 0.5642 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.385e-05/0.4939, allocations: 8 kB / 0.5642 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4939, allocations: 4 kB / 0.5642 GB, free: 15.6 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.0001152/0.494, allocations: 133.7 kB / 0.5643 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.494, allocations: 15.91 kB / 0.5644 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.4943, allocations: 123 kB / 0.5645 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4943, allocations: 0 / 0.5645 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4943, allocations: 0 / 0.5645 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4943, allocations: 0 / 0.5645 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.4949, allocations: 415.2 kB / 0.5649 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4949, allocations: 0 / 0.5649 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.495, allocations: 19.98 kB / 0.5649 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.495, allocations: 432 / 0.5649 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.495, allocations: 11.94 kB / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.495, allocations: 0 / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.495, allocations: 0 / 0.5649 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.4953, allocations: 204.3 kB / 0.5651 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.4953, allocations: 93 kB / 0.5652 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.4954, allocations: 7.922 kB / 0.5652 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.4954, allocations: 4 kB / 0.5652 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.4955, allocations: 11.98 kB / 0.5652 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.4955, allocations: 0 / 0.5652 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.4956, allocations: 168.2 kB / 0.5654 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4956, allocations: 4 kB / 0.5654 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.4959, allocations: 20 kB / 0.5654 GB, free: 14.28 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.00191/0.4978, allocations: 456.1 kB / 0.5658 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.498, allocations: 67.89 kB / 0.5659 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.498, allocations: 0 / 0.5659 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.938e-05/0.4981, allocations: 36.12 kB / 0.5659 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.4986, allocations: 19.92 kB / 0.5659 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.4992, allocations: 266.7 kB / 0.5662 GB, free: 13.58 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004758/0.4996, allocations: 0.7041 MB / 0.5669 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.92e-05/0.4997, allocations: 12.67 kB / 0.5669 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.4997, allocations: 23.36 kB / 0.5669 GB, free: 12.81 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4997, allocations: 0 / 0.5669 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Templates: time 0.004642/0.5044, allocations: 1.389 MB / 0.5683 GB, free: 11.43 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.423820033669472]