Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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.001219/0.001219, allocations: 109.1 kB / 21.18 MB, free: 0.7578 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.001317/0.001317, allocations: 209.1 kB / 24.49 MB, free: 4.148 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.329/1.329, allocations: 230.5 MB / 258.1 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] 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.2163/0.2163, allocations: 46.92 MB / 361.5 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 71.88 kB / 0.4975 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3038, allocations: 66.08 MB / 0.562 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003363/0.3072, allocations: 1.77 MB / 0.5638 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3089, allocations: 1.06 MB / 0.5648 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.309, allocations: 0 / 0.5648 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.3093, allocations: 87.69 kB / 0.5649 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.3096, allocations: 123.5 kB / 0.565 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.3098, allocations: 83.72 kB / 0.5651 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.31, allocations: 119.6 kB / 0.5652 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3101, allocations: 15.97 kB / 0.5652 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.3103, allocations: 55.77 kB / 0.5653 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.3104, allocations: 79.67 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3104, allocations: 4 kB / 0.5653 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3105, allocations: 63.97 kB / 0.5654 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.649e-05/0.3106, allocations: 23.91 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.3106, allocations: 39.69 kB / 0.5655 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.3109, allocations: 145.8 kB / 0.5656 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3109, allocations: 4 kB / 0.5656 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3109, allocations: 0 / 0.5656 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3109, allocations: 0 / 0.5656 GB, free: 0.5859 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005878/0.3115, allocations: 377.3 kB / 0.566 GB, free: 192 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3115, allocations: 12.03 kB / 0.566 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.3116, allocations: 12.84 kB / 0.566 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.3119, allocations: 163.3 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3119, allocations: 4.281 kB / 0.5661 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.3119, allocations: 12.38 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3121, allocations: 61.8 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3121, allocations: 3.938 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3121, allocations: 0 / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3121, allocations: 7.938 kB / 0.5662 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.3122, allocations: 23.92 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.3126, allocations: 279.8 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3128, allocations: 58.55 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.3129, allocations: 20.97 kB / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3129, allocations: 0 / 0.5666 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.3131, allocations: 71.33 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.3131, allocations: 0 / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000738/0.3138, allocations: 249.3 kB / 0.5669 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.3139, allocations: 51.41 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.3141, allocations: 238.8 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.3141, allocations: 33.7 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.3142, allocations: 112.1 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.367e-05/0.3142, allocations: 31.73 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.3143, allocations: 29.72 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3144, allocations: 330.8 kB / 0.5677 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.623e-05/0.3145, allocations: 28 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.3146, allocations: 45.69 kB / 0.5678 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.3147, allocations: 81.59 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3147, allocations: 0 / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002166/0.3149, allocations: 129.6 kB / 0.568 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.315, allocations: 8.031 kB / 0.568 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.315, allocations: 4 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.315, allocations: 0 / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.3151, allocations: 19.98 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3151, allocations: 4 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.3151, allocations: 7.938 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3151, allocations: 4 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001115/0.3152, allocations: 135.1 kB / 0.5681 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3153, allocations: 19.89 kB / 0.5682 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.3156, allocations: 155.6 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3156, allocations: 4 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3156, allocations: 0 / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3156, allocations: 3.938 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.3161, allocations: 423.2 kB / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3161, allocations: 0 / 0.5687 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.3162, allocations: 16.03 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3162, allocations: 8 kB / 0.5687 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3162, allocations: 11.98 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3162, allocations: 3.938 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3162, allocations: 0 / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.3164, allocations: 233.1 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.3165, allocations: 19.84 kB / 0.569 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3165, allocations: 7.984 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.676e-05/0.3166, allocations: 4 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.3166, allocations: 11.92 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3167, allocations: 4 kB / 0.569 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.3168, allocations: 175.2 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3168, allocations: 4 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3171, allocations: 27.94 kB / 0.5692 GB, free: 12.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001888/0.319, allocations: 0.4943 MB / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.3192, allocations: 75.91 kB / 0.5698 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3192, allocations: 3.938 kB / 0.5698 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.372e-05/0.3193, allocations: 35.92 kB / 0.5698 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.3196, allocations: 35.67 kB / 0.5698 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.3202, allocations: 326.2 kB / 0.5702 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3205, allocations: 0.7158 MB / 0.5709 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.3206, allocations: 23.42 kB / 0.5709 GB, free: 10.99 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3206, allocations: 0 / 0.5709 GB, free: 10.99 MB / 414.1 MB Notification: Performance of Templates: time 0.004365/0.325, allocations: 2.262 MB / 0.5731 GB, free: 8.738 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test36.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: 7.17611721297726]