Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001455/0.001455, allocations: 79.73 kB / 21.25 MB, free: 392 kB / 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.001525/0.001525, allocations: 162.5 kB / 24.5 MB, free: 3.449 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.46/1.46, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.2179/0.2179, 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003343/0.003343, allocations: 75.86 kB / 443.2 MB, free: 6.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3669, allocations: 66.06 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002571/0.3695, allocations: 1.677 MB / 0.499 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3708, allocations: 0.9546 MB / 0.4999 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.3709, allocations: 0 / 0.4999 GB, free: 28.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.3712, allocations: 70.58 kB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3715, allocations: 96.94 kB / 0.5001 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.3716, allocations: 76.56 kB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3718, allocations: 113.8 kB / 0.5002 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.3718, allocations: 7.266 kB / 0.5002 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.212e-05/0.3719, allocations: 45.78 kB / 0.5003 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.372, allocations: 51.66 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.372, allocations: 3.281 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.3721, allocations: 38.36 kB / 0.5004 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.86e-05/0.3721, allocations: 17.83 kB / 0.5004 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.3722, allocations: 26.23 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.3724, allocations: 107.8 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3724, allocations: 0 / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3724, allocations: 0 / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3724, allocations: 4 kB / 0.5005 GB, free: 27.74 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004576/0.3728, allocations: 332.4 kB / 0.5008 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3729, allocations: 9.938 kB / 0.5009 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.3729, allocations: 12.12 kB / 0.5009 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.3731, allocations: 157.5 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3732, allocations: 384 / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3732, allocations: 3.5 kB / 0.501 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.3733, allocations: 54.88 kB / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3733, allocations: 0 / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3733, allocations: 0 / 0.5011 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3733, allocations: 7.312 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.3734, allocations: 13.56 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.3735, allocations: 135.7 kB / 0.5012 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3737, allocations: 52.12 kB / 0.5013 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.3738, allocations: 18.83 kB / 0.5013 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.3738, allocations: 3.328 kB / 0.5013 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.3739, allocations: 62.75 kB / 0.5013 GB, free: 26.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.3739, allocations: 3.219 kB / 0.5014 GB, free: 26.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002648/0.3742, allocations: 105.7 kB / 0.5015 GB, free: 26.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.3742, allocations: 58.53 kB / 0.5015 GB, free: 26.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3743, allocations: 199 kB / 0.5017 GB, free: 26.72 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3744, allocations: 29.7 kB / 0.5017 GB, free: 26.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.3744, allocations: 102 kB / 0.5018 GB, free: 26.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.3744, allocations: 23.3 kB / 0.5018 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.3745, allocations: 19.84 kB / 0.5019 GB, free: 26.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.3745, allocations: 321.3 kB / 0.5022 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.3746, allocations: 21.03 kB / 0.5022 GB, free: 26.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.08e-05/0.3746, allocations: 29.55 kB / 0.5022 GB, free: 26.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.3747, allocations: 56.22 kB / 0.5023 GB, free: 26.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3747, allocations: 0 / 0.5023 GB, free: 26.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001339/0.3748, allocations: 85.16 kB / 0.5024 GB, free: 26.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3748, allocations: 10.31 kB / 0.5024 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3748, allocations: 0 / 0.5024 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3749, allocations: 3.156 kB / 0.5024 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.3749, allocations: 10.34 kB / 0.5024 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3749, allocations: 3.312 kB / 0.5024 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.375, allocations: 11.48 kB / 0.5024 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.375, allocations: 3.25 kB / 0.5024 GB, free: 26.1 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 (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 6.858e-05/0.3751, allocations: 123.2 kB / 0.5025 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.3751, allocations: 14.27 kB / 0.5025 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.3753, allocations: 95.92 kB / 0.5026 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3753, allocations: 0 / 0.5026 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3753, allocations: 3.938 kB / 0.5026 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3753, allocations: 0 / 0.5026 GB, free: 25.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.3754, allocations: 134.9 kB / 0.5027 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3754, allocations: 0 / 0.5027 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.3754, allocations: 10.53 kB / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3754, allocations: 0 / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3754, allocations: 7.156 kB / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3754, allocations: 0 / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3754, allocations: 0 / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.3756, allocations: 114.2 kB / 0.5029 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.3756, allocations: 14.58 kB / 0.5029 GB, free: 25.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3756, allocations: 7.938 kB / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/0.3756, allocations: 3.031 kB / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.171e-05/0.3757, allocations: 6.656 kB / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3757, allocations: 7.219 kB / 0.5029 GB, free: 25.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.581e-05/0.3758, allocations: 151.6 kB / 0.5031 GB, free: 25.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3758, allocations: 0 / 0.5031 GB, free: 25.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.376, allocations: 23.95 kB / 0.5031 GB, free: 25.55 MB / 446.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 (6): * Single equations (assignments): 4 * 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.001517/0.3775, allocations: 431.2 kB / 0.5035 GB, free: 25.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.3777, allocations: 51.58 kB / 0.5035 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3777, allocations: 0 / 0.5035 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.052e-05/0.3777, allocations: 22.09 kB / 0.5036 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.378, allocations: 31.14 kB / 0.5036 GB, free: 25.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.3783, allocations: 217.6 kB / 0.5038 GB, free: 25.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.656e-05/0.3784, allocations: 94.92 kB / 0.5039 GB, free: 25.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.306e-05/0.3784, allocations: 13.83 kB / 0.5039 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.3785, allocations: 18.19 kB / 0.5039 GB, free: 25.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3785, allocations: 0 / 0.5039 GB, free: 25.04 MB / 446.1 MB Notification: Performance of Templates: time 0.00412/0.3826, allocations: 1.618 MB / 0.5055 GB, free: 24.8 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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: 4.897577285999432]