Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.001963/0.001963, allocations: 75.75 kB / 21.25 MB, free: 0.5352 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.00212/0.00212, allocations: 165.4 kB / 24.5 MB, free: 3.707 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.501/1.501, allocations: 177.1 MB / 204.7 MB, free: 8.945 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.2194/0.2194, allocations: 34.26 MB / 295.4 MB, free: 14.46 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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002374/0.002374, allocations: 79.86 kB / 443.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3227, allocations: 66.05 MB / 0.4973 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003341/0.326, allocations: 1.71 MB / 0.499 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.329, allocations: 1.663 MB / 0.5006 GB, free: 14.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.329, allocations: 4 kB / 0.5006 GB, free: 14.1 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.3293, allocations: 43.7 kB / 0.5007 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.3297, allocations: 103.5 kB / 0.5008 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3299, allocations: 79.62 kB / 0.5008 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3301, allocations: 107.7 kB / 0.5009 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3302, allocations: 7.984 kB / 0.501 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.3303, allocations: 47.73 kB / 0.501 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.3304, allocations: 43.33 kB / 0.501 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3305, allocations: 7.938 kB / 0.501 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.3307, allocations: 103.9 kB / 0.5011 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.362e-05/0.3307, allocations: 19.92 kB / 0.5012 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.3308, allocations: 31.8 kB / 0.5012 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003451/0.3311, allocations: 173.7 kB / 0.5014 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3311, allocations: 0 / 0.5014 GB, free: 13.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3311, allocations: 4 kB / 0.5014 GB, free: 13.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3311, allocations: 0 / 0.5014 GB, free: 13.35 MB / 414.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.0006072/0.3317, allocations: 349.5 kB / 0.5017 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3318, allocations: 8.031 kB / 0.5017 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.3318, allocations: 12.84 kB / 0.5017 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.3321, allocations: 150.9 kB / 0.5019 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.3321, allocations: 384 / 0.5019 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.3321, allocations: 20.11 kB / 0.5019 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.3324, allocations: 97.03 kB / 0.502 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3324, allocations: 0 / 0.502 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3324, allocations: 0 / 0.502 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3325, allocations: 3.938 kB / 0.502 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.3325, allocations: 19.98 kB / 0.502 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.3329, allocations: 232.5 kB / 0.5022 GB, free: 12.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3331, allocations: 58.61 kB / 0.5023 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3333, allocations: 24.84 kB / 0.5023 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.3333, allocations: 4 kB / 0.5023 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.3335, allocations: 67.39 kB / 0.5024 GB, free: 12.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3335, allocations: 0 / 0.5024 GB, free: 12.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.3341, allocations: 185.3 kB / 0.5025 GB, free: 12.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.3341, allocations: 81.11 kB / 0.5026 GB, free: 11.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3343, allocations: 167.4 kB / 0.5028 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3343, allocations: 25.7 kB / 0.5028 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.3344, allocations: 100.1 kB / 0.5029 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.3345, allocations: 27.73 kB / 0.5029 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.3345, allocations: 29.72 kB / 0.503 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3347, allocations: 326.8 kB / 0.5033 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.3348, allocations: 27.92 kB / 0.5033 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.018e-05/0.3349, allocations: 68.2 kB / 0.5034 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.335, allocations: 61.7 kB / 0.5034 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.335, allocations: 0 / 0.5034 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.3352, allocations: 101.6 kB / 0.5035 GB, free: 10.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3352, allocations: 4 kB / 0.5035 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3352, allocations: 7.984 kB / 0.5035 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3352, allocations: 4.062 kB / 0.5035 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.3353, allocations: 12 kB / 0.5035 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3353, allocations: 0 / 0.5035 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.183e-05/0.3354, allocations: 8 kB / 0.5036 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3354, allocations: 7.984 kB / 0.5036 GB, free: 10.89 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 (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 0.0001362/0.3355, allocations: 122.6 kB / 0.5037 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.3356, allocations: 11.95 kB / 0.5037 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002829/0.3358, allocations: 126.5 kB / 0.5038 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3358, allocations: 0 / 0.5038 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3358, allocations: 4 kB / 0.5038 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3359, allocations: 0 / 0.5038 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.3363, allocations: 346.9 kB / 0.5041 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3363, allocations: 0 / 0.5041 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.116e-05/0.3364, allocations: 15.92 kB / 0.5042 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3364, allocations: 4 kB / 0.5042 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3364, allocations: 0 / 0.5042 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3364, allocations: 0 / 0.5042 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3364, allocations: 3.938 kB / 0.5042 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.3368, allocations: 216.3 kB / 0.5044 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.3368, allocations: 19.92 kB / 0.5044 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.3368, allocations: 4 kB / 0.5044 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.482e-05/0.3369, allocations: 0.75 kB / 0.5044 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.337, allocations: 19.91 kB / 0.5044 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.337, allocations: 4 kB / 0.5044 GB, free: 9.938 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.3371, allocations: 131.9 kB / 0.5045 GB, free: 9.809 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3371, allocations: 3.938 kB / 0.5045 GB, free: 9.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.3374, allocations: 47.86 kB / 0.5046 GB, free: 9.758 MB / 414.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.00224/0.3397, allocations: 0.5831 MB / 0.5052 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.3399, allocations: 59.91 kB / 0.5052 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3399, allocations: 0 / 0.5052 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.615e-05/0.3399, allocations: 27.98 kB / 0.5052 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.3403, allocations: 30.94 kB / 0.5053 GB, free: 9.258 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.3407, allocations: 214.8 kB / 0.5055 GB, free: 9.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.3408, allocations: 85.44 kB / 0.5056 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.927e-05/0.3409, allocations: 16.97 kB / 0.5056 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.3409, allocations: 20.48 kB / 0.5056 GB, free: 8.879 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3409, allocations: 0 / 0.5056 GB, free: 8.879 MB / 414.1 MB Notification: Performance of Templates: time 0.00639/0.3473, allocations: 2.502 MB / 0.508 GB, free: 6.402 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.068508707918227]