Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.00143/0.00143, allocations: 74.97 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.002862/0.002862, 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.499/1.499, allocations: 177.1 MB / 204.7 MB, free: 8.961 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.2078/0.2078, allocations: 34.26 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 83.8 kB / 443.2 MB, free: 6.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3204, allocations: 66.05 MB / 0.4973 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00248/0.3229, allocations: 1.727 MB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3242, allocations: 0.9765 MB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.3243, allocations: 4 kB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.3245, allocations: 43.47 kB / 0.5 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.3248, allocations: 94 kB / 0.5001 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.325, allocations: 80.88 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.3251, allocations: 96.31 kB / 0.5003 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.3252, allocations: 15.09 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.3253, allocations: 42.73 kB / 0.5003 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.3253, allocations: 35.73 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.3254, allocations: 3.125 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.919e-05/0.3254, allocations: 44.88 kB / 0.5004 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.3255, allocations: 21.94 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.3255, allocations: 25.75 kB / 0.5005 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.3257, allocations: 125.1 kB / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3257, allocations: 0 / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3257, allocations: 7.875 kB / 0.5006 GB, free: 27.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.3257, allocations: 0 / 0.5006 GB, free: 27.7 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.0004304/0.3262, allocations: 346.9 kB / 0.5009 GB, free: 27.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.3262, allocations: 9.75 kB / 0.5009 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.3262, allocations: 8.203 kB / 0.5009 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.3264, allocations: 153.7 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3264, allocations: 4.375 kB / 0.5011 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3265, allocations: 7.562 kB / 0.5011 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3266, allocations: 58.27 kB / 0.5011 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3266, allocations: 0 / 0.5011 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3266, allocations: 0 / 0.5011 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3266, allocations: 6.547 kB / 0.5011 GB, free: 27.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.3267, allocations: 21.53 kB / 0.5012 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.3269, allocations: 225.1 kB / 0.5014 GB, free: 26.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.3271, allocations: 58.67 kB / 0.5014 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.3272, allocations: 25.28 kB / 0.5015 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.3272, allocations: 3.938 kB / 0.5015 GB, free: 26.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.3273, allocations: 70.19 kB / 0.5015 GB, free: 26.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.3273, allocations: 0 / 0.5015 GB, free: 26.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.000494/0.3278, allocations: 188.7 kB / 0.5017 GB, free: 26.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.3278, allocations: 58.02 kB / 0.5018 GB, free: 26.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3279, allocations: 200.4 kB / 0.502 GB, free: 26.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.3279, allocations: 33.27 kB / 0.502 GB, free: 26.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.328, allocations: 102.3 kB / 0.5021 GB, free: 26.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.328, allocations: 30.23 kB / 0.5021 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.328, allocations: 34.64 kB / 0.5022 GB, free: 26.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.3281, allocations: 329.4 kB / 0.5025 GB, free: 26.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.439e-05/0.3281, allocations: 23.53 kB / 0.5025 GB, free: 26.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.3282, allocations: 34.19 kB / 0.5025 GB, free: 26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3283, allocations: 61.83 kB / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3283, allocations: 0 / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001694/0.3285, allocations: 109.5 kB / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3285, allocations: 10.34 kB / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.3285, allocations: 0 / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3285, allocations: 3.156 kB / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.3286, allocations: 15.38 kB / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3286, allocations: 0 / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.3286, allocations: 3.031 kB / 0.5027 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.3286, allocations: 7.094 kB / 0.5027 GB, free: 25.89 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.258e-05/0.3287, allocations: 126.7 kB / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.3287, allocations: 14.25 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.3289, allocations: 127.9 kB / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3289, allocations: 3.062 kB / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3289, allocations: 0 / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3289, allocations: 0 / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.3293, allocations: 347.9 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3293, allocations: 3.984 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.3293, allocations: 12.09 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3293, allocations: 1.094 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3293, allocations: 3.156 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3293, allocations: 3.469 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3293, allocations: 5.969 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3295, allocations: 219.1 kB / 0.5035 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.3295, allocations: 14.64 kB / 0.5036 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.3296, allocations: 3.156 kB / 0.5036 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.3296, allocations: 0 / 0.5036 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.3297, allocations: 10.45 kB / 0.5036 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3297, allocations: 9.938 kB / 0.5036 GB, free: 25.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.716e-05/0.3298, allocations: 149.8 kB / 0.5037 GB, free: 25.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3298, allocations: 0 / 0.5037 GB, free: 25.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.33, allocations: 27.09 kB / 0.5038 GB, free: 25.1 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.001745/0.3318, allocations: 486 kB / 0.5042 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.3319, allocations: 66.23 kB / 0.5043 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3319, allocations: 0 / 0.5043 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.332, allocations: 34.69 kB / 0.5043 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3324, allocations: 32.03 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.3327, allocations: 239.7 kB / 0.5046 GB, free: 24.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.951e-05/0.3328, allocations: 92.3 kB / 0.5047 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.438e-05/0.3328, allocations: 18.84 kB / 0.5047 GB, free: 24.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3329, allocations: 21.47 kB / 0.5047 GB, free: 24.54 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3329, allocations: 0 / 0.5047 GB, free: 24.54 MB / 446.1 MB Notification: Performance of Templates: time 0.004265/0.3371, allocations: 1.832 MB / 0.5065 GB, free: 24.29 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.986846170970239]