Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001765/0.001765, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.002598/0.002598, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.548/1.548, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2465/0.2465, allocations: 46.94 MB / 361.4 MB, free: 4.488 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 87.84 kB / 0.4972 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3847, allocations: 66.04 MB / 0.5617 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003296/0.388, allocations: 1.723 MB / 0.5634 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3891, allocations: 0.6006 MB / 0.5639 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.3892, allocations: 3.938 kB / 0.5639 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.3894, allocations: 19.86 kB / 0.564 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.3897, allocations: 91.48 kB / 0.5641 GB, free: 2.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.3901, allocations: 194.3 kB / 0.5642 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3903, allocations: 103.7 kB / 0.5643 GB, free: 1.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3904, allocations: 18.78 kB / 0.5644 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.3905, allocations: 35.86 kB / 0.5644 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.13e-05/0.3906, allocations: 47.77 kB / 0.5644 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3906, allocations: 12 kB / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.3908, allocations: 107.9 kB / 0.5645 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.3909, allocations: 19.92 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.3909, allocations: 35.8 kB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002965/0.3912, allocations: 171 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3912, allocations: 0 / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3912, allocations: 0 / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.3912, allocations: 0 / 0.5648 GB, free: 1.367 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.0006876/0.3919, allocations: 369.5 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.392, allocations: 8.031 kB / 0.5651 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.392, allocations: 12.84 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.3923, allocations: 150.3 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.584e-06/0.3923, allocations: 8.312 kB / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3923, allocations: 384 / 0.5653 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.3926, allocations: 103.4 kB / 0.5654 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3926, allocations: 4 kB / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3926, allocations: 0 / 0.5654 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3927, allocations: 4 kB / 0.5654 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.393, allocations: 75.91 kB / 0.5655 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.3936, allocations: 307.8 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3938, allocations: 78.45 kB / 0.5658 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.394, allocations: 48.94 kB / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.394, allocations: 8 kB / 0.5659 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3941, allocations: 30.56 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.3941, allocations: 0 / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001606/0.3957, allocations: 405 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.3957, allocations: 81.11 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.3959, allocations: 166.4 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3959, allocations: 25.7 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.396, allocations: 104.1 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.396, allocations: 31.73 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.133e-05/0.3961, allocations: 21.72 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3962, allocations: 322.8 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.3965, allocations: 76.02 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.3968, allocations: 101.6 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.3974, allocations: 172.7 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.3974, allocations: 0 / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006239/0.398, allocations: 213.4 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.398, allocations: 6.344 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.398, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.398, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.3982, allocations: 43.89 kB / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3982, allocations: 0 / 0.5676 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.3984, allocations: 27.91 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.3984, allocations: 7.984 kB / 0.5676 GB, free: 14.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 (10): * Single equations (assignments): 10 * 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.0001093/0.3985, allocations: 121.8 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.3986, allocations: 7.953 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/0.3993, allocations: 226.1 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3993, allocations: 4.375 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3993, allocations: 384 / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.3993, allocations: 3.938 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009777/0.4002, allocations: 0.4935 MB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4002, allocations: 0 / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.4004, allocations: 39.91 kB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4004, allocations: 7.938 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4004, allocations: 4 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4004, allocations: 0 / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4004, allocations: 3.984 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006402/0.4011, allocations: 299.3 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.4011, allocations: 11.89 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.4011, allocations: 4 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4013, allocations: 23.95 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.4014, allocations: 11.98 kB / 0.5689 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.4014, allocations: 4 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.4015, allocations: 123.9 kB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4015, allocations: 0 / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.4019, allocations: 55.86 kB / 0.569 GB, free: 12.7 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 (9): * Single equations (assignments): 9 * 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.001824/0.4037, allocations: 494.2 kB / 0.5695 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006658/0.4043, allocations: 175.8 kB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4043, allocations: 0 / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.4046, allocations: 83.86 kB / 0.5698 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.405, allocations: 23.98 kB / 0.5698 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.4055, allocations: 246.2 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.4058, allocations: 0.7002 MB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.4059, allocations: 40.44 kB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.406, allocations: 23.42 kB / 0.5708 GB, free: 11.03 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.406, allocations: 0 / 0.5708 GB, free: 11.03 MB / 414.1 MB Notification: Performance of Templates: time 0.006401/0.4124, allocations: 2.617 MB / 0.5733 GB, free: 8.426 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.461789342574775]