Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.001725/0.001725, allocations: 105.4 kB / 19.81 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.002143/0.002143, allocations: 218.2 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.545/1.545, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2745/0.2745, allocations: 46.9 MB / 359.4 MB, free: 4.867 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.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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002953/0.002953, allocations: 83.8 kB / 0.4947 GB, free: 8.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4018, allocations: 65.98 MB / 0.5591 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003227/0.405, allocations: 1.617 MB / 0.5607 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.4069, allocations: 1.247 MB / 0.5619 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.407, allocations: 0 / 0.5619 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.4072, allocations: 27.84 kB / 0.5619 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.4075, allocations: 79.62 kB / 0.562 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.4078, allocations: 114.7 kB / 0.5621 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.408, allocations: 71.81 kB / 0.5622 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.4081, allocations: 4 kB / 0.5622 GB, free: 1.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.184e-05/0.4082, allocations: 31.86 kB / 0.5622 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.4083, allocations: 31.83 kB / 0.5622 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.4083, allocations: 4 kB / 0.5622 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.4085, allocations: 95.94 kB / 0.5623 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.4086, allocations: 15.92 kB / 0.5624 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.4086, allocations: 27.8 kB / 0.5624 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.4089, allocations: 149.9 kB / 0.5625 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4089, allocations: 0 / 0.5625 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4089, allocations: 0 / 0.5625 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.4089, allocations: 4 kB / 0.5625 GB, free: 1.547 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.0005501/0.4094, allocations: 401.6 kB / 0.5629 GB, free: 1.105 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.4095, allocations: 8.031 kB / 0.5629 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.4095, allocations: 8.891 kB / 0.5629 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.4098, allocations: 200.1 kB / 0.5631 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4098, allocations: 4.375 kB / 0.5631 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.4098, allocations: 8.312 kB / 0.5631 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.41, allocations: 59.97 kB / 0.5632 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.41, allocations: 192 / 0.5632 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.41, allocations: 7.938 kB / 0.5632 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.41, allocations: 0 / 0.5632 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.4101, allocations: 23.97 kB / 0.5632 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.4105, allocations: 292.8 kB / 0.5635 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.4107, allocations: 46.5 kB / 0.5635 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.4108, allocations: 16.94 kB / 0.5636 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.4108, allocations: 3.984 kB / 0.5636 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.4109, allocations: 42.56 kB / 0.5636 GB, free: 284 kB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4109, allocations: 0 / 0.5636 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005902/0.4114, allocations: 149.4 kB / 0.5637 GB, free: 128 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.4115, allocations: 77.11 kB / 0.5638 GB, free: 32 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4117, allocations: 144.2 kB / 0.564 GB, free: 15.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4117, allocations: 29.7 kB / 0.564 GB, free: 15.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.4118, allocations: 92.12 kB / 0.5641 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.4118, allocations: 23.8 kB / 0.5641 GB, free: 15.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.4118, allocations: 25.7 kB / 0.5641 GB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.412, allocations: 318.8 kB / 0.5644 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.539e-05/0.4121, allocations: 23.92 kB / 0.5644 GB, free: 15.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.156e-05/0.4121, allocations: 37.69 kB / 0.5645 GB, free: 15.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.4123, allocations: 52.83 kB / 0.5645 GB, free: 15.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4123, allocations: 4.031 kB / 0.5645 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000192/0.4125, allocations: 85.61 kB / 0.5646 GB, free: 15.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4125, allocations: 4 kB / 0.5646 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4125, allocations: 4 kB / 0.5646 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4125, allocations: 0 / 0.5646 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.794e-05/0.4126, allocations: 15.92 kB / 0.5646 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.4126, allocations: 3.984 kB / 0.5646 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.4127, allocations: 4 kB / 0.5646 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.4127, allocations: 4 kB / 0.5646 GB, free: 15.13 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.000111/0.4128, allocations: 121.8 kB / 0.5648 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.4128, allocations: 11.94 kB / 0.5648 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002548/0.4131, allocations: 89.97 kB / 0.5649 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4131, allocations: 3.938 kB / 0.5649 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4131, allocations: 0 / 0.5649 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4131, allocations: 4 kB / 0.5649 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.4136, allocations: 370.7 kB / 0.5652 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4136, allocations: 0 / 0.5652 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.4137, allocations: 15.92 kB / 0.5652 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4137, allocations: 0 / 0.5652 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4137, allocations: 4 kB / 0.5652 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4137, allocations: 0 / 0.5652 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4137, allocations: 3.938 kB / 0.5652 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4139, allocations: 187.4 kB / 0.5654 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/0.414, allocations: 81.06 kB / 0.5655 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.414, allocations: 7.984 kB / 0.5655 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.4141, allocations: 4 kB / 0.5655 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.4141, allocations: 7.938 kB / 0.5655 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.4141, allocations: 0 / 0.5655 GB, free: 14.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4143, allocations: 117.8 kB / 0.5656 GB, free: 14.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4143, allocations: 4 kB / 0.5656 GB, free: 14.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.4146, allocations: 39.86 kB / 0.5657 GB, free: 13.97 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.001727/0.4163, allocations: 486.5 kB / 0.5661 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002285/0.4165, allocations: 59.89 kB / 0.5662 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4165, allocations: 0 / 0.5662 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.4166, allocations: 23.98 kB / 0.5662 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.4169, allocations: 27.23 kB / 0.5662 GB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.4174, allocations: 177.4 kB / 0.5664 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.4178, allocations: 0.6924 MB / 0.5671 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.084e-05/0.4179, allocations: 28 kB / 0.5671 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.4179, allocations: 15.42 kB / 0.5671 GB, free: 12.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4179, allocations: 4 kB / 0.5671 GB, free: 12.59 MB / 414.1 MB Notification: Performance of Templates: time 0.004972/0.4229, allocations: 1.761 MB / 0.5689 GB, free: 10.83 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.41745151206851]