Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.001449/0.001449, allocations: 109.1 kB / 21.18 MB, free: 0.7656 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.001615/0.001615, allocations: 213.1 kB / 24.5 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.349/1.349, allocations: 230.5 MB / 258.1 MB, free: 8 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.2091/0.2091, allocations: 46.94 MB / 361.5 MB, free: 4.172 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 83.86 kB / 0.4975 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2991, allocations: 66.08 MB / 0.562 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003067/0.3022, allocations: 1.698 MB / 0.5637 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.3038, allocations: 1.029 MB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.3039, allocations: 0 / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.3041, allocations: 47.75 kB / 0.5647 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002814/0.3044, allocations: 107.5 kB / 0.5648 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.3046, allocations: 75.73 kB / 0.5649 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.3047, allocations: 103.6 kB / 0.565 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.3048, allocations: 4.234 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.322e-05/0.3049, allocations: 43.78 kB / 0.565 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.305, allocations: 31.78 kB / 0.5651 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.305, allocations: 7.938 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.305, allocations: 35.98 kB / 0.5651 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.3051, allocations: 23.92 kB / 0.5651 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.3052, allocations: 51.61 kB / 0.5652 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.3054, allocations: 121.8 kB / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3054, allocations: 0 / 0.5653 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3054, allocations: 4 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.3054, allocations: 0 / 0.5653 GB, free: 0.8398 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005293/0.3059, allocations: 365.4 kB / 0.5657 GB, free: 464 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.3059, allocations: 11.97 kB / 0.5657 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.306, allocations: 8.891 kB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.3062, allocations: 167.2 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.3062, allocations: 4.375 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3063, allocations: 8.359 kB / 0.5659 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3064, allocations: 49.94 kB / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3064, allocations: 0 / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3064, allocations: 0 / 0.5659 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3064, allocations: 4 kB / 0.5659 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.042e-05/0.3065, allocations: 15.98 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.3067, allocations: 164.8 kB / 0.5661 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.3068, allocations: 50.62 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.036e-05/0.3069, allocations: 20.84 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3069, allocations: 3.938 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000148/0.307, allocations: 67.33 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.307, allocations: 0 / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002565/0.3073, allocations: 101.6 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3073, allocations: 59.39 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.3076, allocations: 270.8 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3076, allocations: 25.7 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.3077, allocations: 116.1 kB / 0.5668 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.3077, allocations: 11.91 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.3078, allocations: 21.72 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3079, allocations: 330.8 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-05/0.308, allocations: 12 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.833e-05/0.308, allocations: 33.69 kB / 0.5671 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.34e-05/0.3081, allocations: 45.7 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3081, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001651/0.3083, allocations: 93.78 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3083, allocations: 8.031 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3083, allocations: 0 / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3083, allocations: 0 / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.3084, allocations: 15.98 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3084, allocations: 3.938 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.341e-05/0.3084, allocations: 11.83 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.3085, allocations: 4 kB / 0.5673 GB, free: 14.57 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 (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 prepare postOptimizeDAE: time 0.0001068/0.3086, allocations: 139.1 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3086, allocations: 15.84 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.3088, allocations: 98.75 kB / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3088, allocations: 0 / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.3088, allocations: 0 / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3088, allocations: 0 / 0.5676 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.309, allocations: 168.7 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.309, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-05/0.309, allocations: 7.938 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.309, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.309, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.309, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.309, allocations: 3.938 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3092, allocations: 117 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.3092, allocations: 19.83 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.3092, allocations: 0 / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.753e-05/0.3093, allocations: 7.984 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.3093, allocations: 4 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3093, allocations: 4 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.3095, allocations: 204.6 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3095, allocations: 0 / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.3097, allocations: 23.94 kB / 0.5681 GB, free: 13.69 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: 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 (5): * Single equations (assignments): 3 * 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.001431/0.3111, allocations: 402.1 kB / 0.5685 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.3113, allocations: 39.92 kB / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3113, allocations: 0 / 0.5685 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.577e-05/0.3113, allocations: 19.98 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.3116, allocations: 34.69 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.3121, allocations: 300 kB / 0.5689 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.3125, allocations: 0.7196 MB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.3125, allocations: 19.44 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3125, allocations: 0 / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.003744/0.3162, allocations: 1.883 MB / 0.5714 GB, free: 10.37 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.181414649821818]