Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001902/0.001902, allocations: 79.03 kB / 21.24 MB, free: 0.543 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.002188/0.002188, allocations: 161.4 kB / 24.5 MB, free: 3.719 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.487/1.487, allocations: 177.1 MB / 204.7 MB, free: 8.984 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.2115/0.2115, allocations: 34.26 MB / 295.4 MB, free: 14.49 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 75.88 kB / 443.2 MB, free: 6.438 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3245, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002407/0.3269, allocations: 1.727 MB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.3287, allocations: 1.665 MB / 0.5006 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.3287, allocations: 0 / 0.5006 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.329, allocations: 44.38 kB / 0.5007 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.3293, allocations: 98.61 kB / 0.5008 GB, free: 27.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.3294, allocations: 85.27 kB / 0.5009 GB, free: 27.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.3295, allocations: 107.3 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.3296, allocations: 3.75 kB / 0.501 GB, free: 27.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.763e-05/0.3297, allocations: 46.45 kB / 0.501 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3298, allocations: 47.23 kB / 0.501 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3298, allocations: 3.219 kB / 0.5011 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.33, allocations: 103.8 kB / 0.5012 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.33, allocations: 22.08 kB / 0.5012 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.33, allocations: 33.58 kB / 0.5012 GB, free: 27.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3303, allocations: 161.9 kB / 0.5014 GB, free: 27.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3303, allocations: 7.312 kB / 0.5014 GB, free: 27.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3303, allocations: 0 / 0.5014 GB, free: 27.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.3303, allocations: 0 / 0.5014 GB, free: 27.13 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.0004426/0.3307, allocations: 352.7 kB / 0.5017 GB, free: 26.8 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.3307, allocations: 9.375 kB / 0.5017 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.3308, allocations: 15.34 kB / 0.5017 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.331, allocations: 151.3 kB / 0.5019 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.331, allocations: 384 / 0.5019 GB, free: 26.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.331, allocations: 11.09 kB / 0.5019 GB, free: 26.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3312, allocations: 94.97 kB / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3312, allocations: 7.984 kB / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3312, allocations: 2.969 kB / 0.502 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3312, allocations: 3.938 kB / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.3313, allocations: 19.62 kB / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.3315, allocations: 236.4 kB / 0.5022 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.3317, allocations: 55.53 kB / 0.5023 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.3317, allocations: 21.31 kB / 0.5023 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.3317, allocations: 0 / 0.5023 GB, free: 26.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.3318, allocations: 77.27 kB / 0.5024 GB, free: 26.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3318, allocations: 3.938 kB / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004831/0.3323, allocations: 177.7 kB / 0.5026 GB, free: 26.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.3323, allocations: 83.61 kB / 0.5026 GB, free: 26.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3325, allocations: 169.9 kB / 0.5028 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.3325, allocations: 25.7 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.3325, allocations: 98.81 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3325, allocations: 30.39 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.3326, allocations: 27.38 kB / 0.503 GB, free: 25.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.839e-05/0.3326, allocations: 325.4 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.243e-05/0.3327, allocations: 25 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.975e-05/0.3327, allocations: 67.52 kB / 0.5034 GB, free: 25.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.938e-05/0.3328, allocations: 65.61 kB / 0.5034 GB, free: 25.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3328, allocations: 0 / 0.5034 GB, free: 25.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001584/0.333, allocations: 98.89 kB / 0.5035 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.333, allocations: 5.406 kB / 0.5035 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.333, allocations: 0 / 0.5035 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.333, allocations: 2.719 kB / 0.5035 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.3331, allocations: 21.03 kB / 0.5035 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3331, allocations: 4 kB / 0.5036 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.3331, allocations: 6.781 kB / 0.5036 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3331, allocations: 6.5 kB / 0.5036 GB, free: 25.22 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 5.713e-05/0.3332, allocations: 119.5 kB / 0.5037 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.3332, allocations: 9.328 kB / 0.5037 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002151/0.3334, allocations: 130 kB / 0.5038 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3334, allocations: 0 / 0.5038 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3334, allocations: 0 / 0.5038 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3334, allocations: 0 / 0.5038 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.3338, allocations: 354 kB / 0.5042 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3338, allocations: 3.594 kB / 0.5042 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.3338, allocations: 10.91 kB / 0.5042 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3338, allocations: 0 / 0.5042 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3338, allocations: 6.5 kB / 0.5042 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3338, allocations: 0 / 0.5042 GB, free: 24.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3338, allocations: 3.938 kB / 0.5042 GB, free: 24.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.334, allocations: 220.5 kB / 0.5044 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.334, allocations: 14.39 kB / 0.5044 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3341, allocations: 2.969 kB / 0.5044 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.3341, allocations: 4.375 kB / 0.5044 GB, free: 24.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.3342, allocations: 18.36 kB / 0.5044 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3342, allocations: 9.406 kB / 0.5044 GB, free: 24.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.3343, allocations: 130.4 kB / 0.5046 GB, free: 24.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3343, allocations: 0 / 0.5046 GB, free: 24.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002865/0.3345, allocations: 48.14 kB / 0.5046 GB, free: 24.41 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.001953/0.3365, allocations: 0.5616 MB / 0.5052 GB, free: 24.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.3367, allocations: 62.7 kB / 0.5052 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3367, allocations: 0 / 0.5052 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.806e-05/0.3367, allocations: 30.55 kB / 0.5052 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3371, allocations: 37.58 kB / 0.5053 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.3374, allocations: 209.8 kB / 0.5055 GB, free: 23.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.574e-05/0.3375, allocations: 86.36 kB / 0.5056 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.302e-05/0.3375, allocations: 20.66 kB / 0.5056 GB, free: 23.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.3376, allocations: 21.45 kB / 0.5056 GB, free: 23.84 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3376, allocations: 0 / 0.5056 GB, free: 23.84 MB / 446.1 MB Notification: Performance of Templates: time 0.004896/0.3425, allocations: 2.497 MB / 0.508 GB, free: 23.5 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.073497073957697]