Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 107.6 kB / 21.19 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002298/0.002298, allocations: 213.2 kB / 24.48 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 46.96 MB / 361.6 MB, free: 4.062 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 63.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4871, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003933/0.491, allocations: 1.601 MB / 0.5634 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.4923, allocations: 0.5426 MB / 0.5639 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.4924, allocations: 4 kB / 0.5639 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.4927, allocations: 31.83 kB / 0.564 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003952/0.4931, allocations: 71.64 kB / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.4935, allocations: 127.5 kB / 0.5641 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.4937, allocations: 71.81 kB / 0.5642 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.4939, allocations: 8 kB / 0.5642 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.4939, allocations: 31.86 kB / 0.5643 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.494, allocations: 31.84 kB / 0.5643 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.4941, allocations: 4 kB / 0.5643 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.4943, allocations: 99.88 kB / 0.5644 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.838e-05/0.4944, allocations: 19.92 kB / 0.5644 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.4944, allocations: 19.86 kB / 0.5644 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.4948, allocations: 145.9 kB / 0.5646 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4948, allocations: 0 / 0.5646 GB, free: 1.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4948, allocations: 3.938 kB / 0.5646 GB, free: 1.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.4948, allocations: 0 / 0.5646 GB, free: 1.391 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.000727/0.4955, allocations: 329.7 kB / 0.5649 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.4956, allocations: 8.031 kB / 0.5649 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.354e-05/0.4956, allocations: 8.891 kB / 0.5649 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.4959, allocations: 134.4 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.4959, allocations: 8.375 kB / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.4959, allocations: 384 / 0.565 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.4962, allocations: 97.17 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4962, allocations: 0 / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.4962, allocations: 0 / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4962, allocations: 0 / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.4963, allocations: 27.97 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005171/0.4968, allocations: 232.6 kB / 0.5654 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.497, allocations: 62.42 kB / 0.5654 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.497, allocations: 28.88 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.4971, allocations: 0 / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.4971, allocations: 30.56 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.4971, allocations: 0 / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007165/0.4978, allocations: 185.3 kB / 0.5657 GB, free: 136 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.4979, allocations: 81.05 kB / 0.5657 GB, free: 36 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.4981, allocations: 156 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.4981, allocations: 29.7 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.4982, allocations: 92.12 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.4983, allocations: 23.8 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.4984, allocations: 29.7 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4985, allocations: 322.8 kB / 0.5664 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.4986, allocations: 31.97 kB / 0.5664 GB, free: 15.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4987, allocations: 79.44 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.4989, allocations: 76.78 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4989, allocations: 0 / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000244/0.4991, allocations: 101.6 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4992, allocations: 8 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4992, allocations: 4 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4992, allocations: 0 / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.4993, allocations: 15.98 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4993, allocations: 0 / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.087e-05/0.4994, allocations: 4 kB / 0.5667 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.4994, allocations: 11.98 kB / 0.5667 GB, free: 15.02 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.0001135/0.4995, allocations: 125.7 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.4995, allocations: 8.234 kB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.4998, allocations: 110.4 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4998, allocations: 3.984 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.4998, allocations: 0 / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4998, allocations: 0 / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.5004, allocations: 342 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5004, allocations: 0 / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.546e-05/0.5004, allocations: 19.98 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5004, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.5005, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5005, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.5005, allocations: 15.81 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.5008, allocations: 191.8 kB / 0.5675 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.049e-05/0.5008, allocations: 11.95 kB / 0.5675 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.5008, allocations: 4 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.5009, allocations: 11.98 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.5009, allocations: 11.92 kB / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.5009, allocations: 0 / 0.5675 GB, free: 14.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.501, allocations: 111.3 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.501, allocations: 0 / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003121/0.5014, allocations: 43.86 kB / 0.5677 GB, free: 13.95 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 (7): * Single equations (assignments): 7 * 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.001959/0.5033, allocations: 0.5277 MB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.5036, allocations: 79.88 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5036, allocations: 0 / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.5037, allocations: 31.97 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.5041, allocations: 16 kB / 0.5683 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.5047, allocations: 219.5 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.044e-05/0.5048, allocations: 79.33 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.5048, allocations: 23.36 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5048, allocations: 0 / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Templates: time 0.00474/0.5096, allocations: 2.132 MB / 0.5707 GB, free: 11.01 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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: 8.224395061988616]