Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.00203/0.00203, allocations: 82.25 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.002493/0.002493, allocations: 158.5 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.499/1.499, 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.2131/0.2131, allocations: 34.25 MB / 295.4 MB, free: 14.48 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 76.2 kB / 443.2 MB, free: 6.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3532, allocations: 66.05 MB / 0.4973 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002674/0.3559, allocations: 1.891 MB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3574, allocations: 1.067 MB / 0.5002 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.3575, allocations: 7.25 kB / 0.5002 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.3578, allocations: 224.7 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003623/0.3582, allocations: 220.7 kB / 0.5007 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.3584, allocations: 114.2 kB / 0.5008 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.3586, allocations: 264.2 kB / 0.501 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3588, allocations: 15.69 kB / 0.501 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3589, allocations: 129.6 kB / 0.5012 GB, free: 27.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.359, allocations: 158.6 kB / 0.5013 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.3591, allocations: 9.375 kB / 0.5013 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3592, allocations: 75.39 kB / 0.5014 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.3592, allocations: 60.83 kB / 0.5015 GB, free: 27.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.741e-05/0.3593, allocations: 70.17 kB / 0.5015 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3596, allocations: 251.3 kB / 0.5018 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3596, allocations: 0 / 0.5018 GB, free: 27.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3596, allocations: 0 / 0.5018 GB, free: 27.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3596, allocations: 0 / 0.5018 GB, free: 27.2 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006703/0.3602, allocations: 0.4964 MB / 0.5022 GB, free: 26.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3603, allocations: 9.75 kB / 0.5023 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.183e-05/0.3603, allocations: 32.67 kB / 0.5023 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.3606, allocations: 230.1 kB / 0.5025 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3606, allocations: 10.77 kB / 0.5025 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.3607, allocations: 3.719 kB / 0.5025 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3609, allocations: 117.8 kB / 0.5026 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3609, allocations: 3 kB / 0.5026 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3609, allocations: 4 kB / 0.5026 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3609, allocations: 2.781 kB / 0.5026 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.361, allocations: 53.17 kB / 0.5027 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.3615, allocations: 415 kB / 0.5031 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003564/0.3619, allocations: 122 kB / 0.5032 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.175e-05/0.362, allocations: 42.91 kB / 0.5032 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.362, allocations: 3.031 kB / 0.5033 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.3622, allocations: 123.1 kB / 0.5034 GB, free: 25.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.3622, allocations: 0 / 0.5034 GB, free: 25.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001207/0.3634, allocations: 0.5169 MB / 0.5039 GB, free: 25.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3634, allocations: 83.92 kB / 0.504 GB, free: 25.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/0.3638, allocations: 456.9 kB / 0.5044 GB, free: 25.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.3638, allocations: 32.73 kB / 0.5044 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.3639, allocations: 169.3 kB / 0.5046 GB, free: 25.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.3639, allocations: 74.31 kB / 0.5047 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.364, allocations: 44.09 kB / 0.5047 GB, free: 25.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.3641, allocations: 345.4 kB / 0.505 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.3642, allocations: 57.02 kB / 0.5051 GB, free: 24.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.3643, allocations: 95.28 kB / 0.5052 GB, free: 24.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.3645, allocations: 172.8 kB / 0.5053 GB, free: 24.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3645, allocations: 0 / 0.5053 GB, free: 24.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003455/0.3649, allocations: 236.7 kB / 0.5056 GB, free: 24.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3649, allocations: 3.219 kB / 0.5056 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3649, allocations: 3.312 kB / 0.5056 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3649, allocations: 3.188 kB / 0.5056 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.3651, allocations: 50.73 kB / 0.5056 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3651, allocations: 2.875 kB / 0.5056 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.984e-05/0.3651, allocations: 14.55 kB / 0.5056 GB, free: 24.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3652, allocations: 10.5 kB / 0.5056 GB, free: 24.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000129/0.3653, allocations: 163.5 kB / 0.5058 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3653, allocations: 32.41 kB / 0.5058 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004632/0.3658, allocations: 279 kB / 0.5061 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3658, allocations: 7.062 kB / 0.5061 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3658, allocations: 0 / 0.5061 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3658, allocations: 7.422 kB / 0.5061 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007135/0.3665, allocations: 0.6759 MB / 0.5068 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3665, allocations: 0 / 0.5068 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.3666, allocations: 36.05 kB / 0.5068 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3666, allocations: 0 / 0.5068 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3666, allocations: 6.188 kB / 0.5068 GB, free: 23.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.3666, allocations: 7.188 kB / 0.5068 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3666, allocations: 3.703 kB / 0.5068 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.367, allocations: 444.2 kB / 0.5072 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.367, allocations: 29.36 kB / 0.5073 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.3671, allocations: 11.38 kB / 0.5073 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.3672, allocations: 17.22 kB / 0.5073 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.3673, allocations: 34.27 kB / 0.5073 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.3673, allocations: 6.438 kB / 0.5073 GB, free: 23.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.3675, allocations: 339.9 kB / 0.5077 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3675, allocations: 0 / 0.5077 GB, free: 23.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003448/0.3679, allocations: 54.39 kB / 0.5077 GB, free: 23.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002047/0.3699, allocations: 0.5497 MB / 0.5083 GB, free: 22.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.3703, allocations: 157.5 kB / 0.5084 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3703, allocations: 0 / 0.5084 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.3704, allocations: 81.98 kB / 0.5085 GB, free: 22.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.371, allocations: 56.28 kB / 0.5085 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007436/0.3717, allocations: 0.5815 MB / 0.5091 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.3719, allocations: 170.5 kB / 0.5093 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.621e-05/0.372, allocations: 52.86 kB / 0.5093 GB, free: 22.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.372, allocations: 30.72 kB / 0.5093 GB, free: 22.39 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.372, allocations: 0 / 0.5093 GB, free: 22.39 MB / 446.1 MB Notification: Performance of Templates: time 0.007201/0.3792, allocations: 3.311 MB / 0.5126 GB, free: 21.92 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.159263486042619]