Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.001577/0.001577, allocations: 82.33 kB / 21.25 MB, free: 0.5469 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.001734/0.001734, allocations: 163.3 kB / 24.5 MB, free: 3.852 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.456/1.456, allocations: 177.1 MB / 204.7 MB, free: 8.973 MB / 190.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.2168/0.2168, allocations: 34.27 MB / 295.4 MB, free: 14.47 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 83.88 kB / 443.2 MB, free: 6.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3209, allocations: 66.05 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002779/0.3236, allocations: 1.728 MB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.325, allocations: 0.9673 MB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.436e-05/0.3251, allocations: 7.188 kB / 0.5 GB, free: 28.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.3254, allocations: 40 kB / 0.5 GB, free: 27.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.3256, allocations: 97.73 kB / 0.5001 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.3258, allocations: 80.38 kB / 0.5002 GB, free: 27.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.3259, allocations: 107.2 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.326, allocations: 7.031 kB / 0.5003 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.616e-05/0.3261, allocations: 43.36 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.3261, allocations: 32.23 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3262, allocations: 10.81 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.44e-05/0.3262, allocations: 41.31 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.3263, allocations: 21.97 kB / 0.5004 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.3263, allocations: 32.69 kB / 0.5005 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.3265, allocations: 118.4 kB / 0.5006 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3265, allocations: 0 / 0.5006 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3265, allocations: 3.312 kB / 0.5006 GB, free: 27.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3265, allocations: 0 / 0.5006 GB, free: 27.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004285/0.3269, allocations: 344.6 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.327, allocations: 9.562 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.327, allocations: 11.39 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.3272, allocations: 158.6 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3272, allocations: 3.688 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.3273, allocations: 3.656 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.3274, allocations: 65.22 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3274, allocations: 0 / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3274, allocations: 0 / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3274, allocations: 0 / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.03e-05/0.3275, allocations: 19.91 kB / 0.5012 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002644/0.3277, allocations: 227.6 kB / 0.5014 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.3279, allocations: 71.36 kB / 0.5015 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.328, allocations: 15.05 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.328, allocations: 6.844 kB / 0.5015 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.3281, allocations: 63.25 kB / 0.5015 GB, free: 26.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.3281, allocations: 0 / 0.5015 GB, free: 26.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005112/0.3286, allocations: 196 kB / 0.5017 GB, free: 26.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.3286, allocations: 51.41 kB / 0.5018 GB, free: 26.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3288, allocations: 205.5 kB / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.3288, allocations: 29.7 kB / 0.502 GB, free: 26.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.872e-05/0.3288, allocations: 114 kB / 0.5021 GB, free: 26.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3289, allocations: 22.95 kB / 0.5021 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.3289, allocations: 23.62 kB / 0.5022 GB, free: 26.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.3289, allocations: 325.5 kB / 0.5025 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.487e-05/0.329, allocations: 28.09 kB / 0.5025 GB, free: 26.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.566e-05/0.329, allocations: 37.06 kB / 0.5025 GB, free: 26.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.3291, allocations: 58.42 kB / 0.5026 GB, free: 25.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3291, allocations: 0 / 0.5026 GB, free: 25.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001629/0.3293, allocations: 116 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3293, allocations: 6.25 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3293, allocations: 0 / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3293, allocations: 3.188 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.3294, allocations: 19.92 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.3294, allocations: 0 / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.3295, allocations: 3.219 kB / 0.5027 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3295, allocations: 3.031 kB / 0.5027 GB, free: 25.91 MB / 446.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 (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 6.606e-05/0.3295, allocations: 134.5 kB / 0.5029 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.098e-05/0.3296, allocations: 14.06 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.3298, allocations: 128.2 kB / 0.503 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3298, allocations: 0 / 0.503 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3298, allocations: 3.375 kB / 0.503 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3298, allocations: 0 / 0.503 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.3301, allocations: 344.5 kB / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3301, allocations: 0 / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.3302, allocations: 9.594 kB / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3302, allocations: 0 / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3302, allocations: 3.516 kB / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3302, allocations: 7.031 kB / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3302, allocations: 0 / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.3304, allocations: 226.3 kB / 0.5036 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.3304, allocations: 10.66 kB / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3304, allocations: 2.688 kB / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.3305, allocations: 6.812 kB / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.3305, allocations: 10.05 kB / 0.5036 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3305, allocations: 2.719 kB / 0.5036 GB, free: 25.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.238e-05/0.3306, allocations: 153.3 kB / 0.5037 GB, free: 25.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3306, allocations: 0 / 0.5037 GB, free: 25.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3309, allocations: 29.91 kB / 0.5038 GB, free: 25.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001765/0.3327, allocations: 491.9 kB / 0.5042 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.3328, allocations: 62.31 kB / 0.5043 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3328, allocations: 4.062 kB / 0.5043 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.3329, allocations: 27.02 kB / 0.5043 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3333, allocations: 32.52 kB / 0.5044 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.3337, allocations: 243.3 kB / 0.5046 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.424e-05/0.3337, allocations: 89.16 kB / 0.5047 GB, free: 24.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.117e-05/0.3338, allocations: 22.05 kB / 0.5047 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.3338, allocations: 14.81 kB / 0.5047 GB, free: 24.55 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3338, allocations: 0 / 0.5047 GB, free: 24.55 MB / 446.1 MB Notification: Performance of Templates: time 0.00456/0.3384, allocations: 1.851 MB / 0.5065 GB, free: 24.29 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.082064471906051]