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.00145/0.00145, allocations: 88.98 kB / 20.68 MB, free: 1.02 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.001409/0.001409, allocations: 158.4 kB / 23.95 MB, free: 4.152 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.491/1.491, allocations: 177 MB / 204.1 MB, free: 9.156 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.2486/0.2486, allocations: 34.27 MB / 294.8 MB, free: 14.51 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 2.014e-06/2.014e-06, allocations: 0 / 442.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.959e-05/3.16e-05, allocations: 2.281 kB / 442.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.005102/0.005134, allocations: 1.719 MB / 444.5 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003942/0.009076, allocations: 1.665 MB / 446.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.009221, allocations: 4 kB / 446.1 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004154/0.009636, allocations: 39.7 kB / 446.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006277/0.01026, allocations: 103.5 kB / 446.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.01061, allocations: 83.59 kB / 446.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.01092, allocations: 111.7 kB / 446.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.01103, allocations: 4 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.01121, allocations: 59.77 kB / 446.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.0114, allocations: 31.89 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.01144, allocations: 8 kB / 446.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.0118, allocations: 103.8 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.01189, allocations: 23.86 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.565e-05/0.01196, allocations: 23.92 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005464/0.01251, allocations: 175.5 kB / 446.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.01251, allocations: 0 / 446.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01251, allocations: 0 / 446.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.01252, allocations: 3.938 kB / 446.9 MB, free: 1.023 MB / 366.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.0009186/0.01344, allocations: 353.4 kB / 447.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.01349, allocations: 8.031 kB / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.517e-05/0.01358, allocations: 8.891 kB / 447.3 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/0.01415, allocations: 154.1 kB / 447.4 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.01417, allocations: 8.312 kB / 447.4 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.01421, allocations: 8.328 kB / 447.4 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.0145, allocations: 93.66 kB / 447.5 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.01453, allocations: 7.875 kB / 447.5 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.01455, allocations: 4 kB / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.01456, allocations: 0 / 447.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01468, allocations: 19.98 kB / 447.5 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.01525, allocations: 232.6 kB / 447.8 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2775/0.2927, allocations: 51.11 kB / 447.8 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.2928, allocations: 29.16 kB / 447.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.2929, allocations: 0 / 447.9 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.2931, allocations: 70.55 kB / 447.9 MB, free: 19.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.2931, allocations: 0 / 447.9 MB, free: 19.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000728/0.2938, allocations: 174.8 kB / 448.1 MB, free: 19.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2939, allocations: 80.2 kB / 448.2 MB, free: 19.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.2941, allocations: 173.1 kB / 448.3 MB, free: 19.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2941, allocations: 26.98 kB / 448.4 MB, free: 18.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.2941, allocations: 101.2 kB / 448.5 MB, free: 18.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.2942, allocations: 24.59 kB / 448.5 MB, free: 18.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.2942, allocations: 28.98 kB / 448.5 MB, free: 18.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.2943, allocations: 324.4 kB / 448.8 MB, free: 18.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.2943, allocations: 20.5 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.454e-05/0.2944, allocations: 71.64 kB / 448.9 MB, free: 18.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.2946, allocations: 66.59 kB / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2946, allocations: 0 / 449 MB, free: 18.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002251/0.2948, allocations: 105.4 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2948, allocations: 5.688 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2948, allocations: 3.062 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.2948, allocations: 1.188 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.2949, allocations: 14.78 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2949, allocations: 1.781 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.295, allocations: 6.703 kB / 449.1 MB, free: 18.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.295, allocations: 9.391 kB / 449.1 MB, free: 18.45 MB / 366.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 8.69e-05/0.2951, allocations: 125 kB / 449.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.2952, allocations: 13.83 kB / 449.3 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.2954, allocations: 121.2 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2954, allocations: 1.312 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2954, allocations: 1.406 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2954, allocations: 4.828 kB / 449.4 MB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.2959, allocations: 350.9 kB / 449.7 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2959, allocations: 4.312 kB / 449.7 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.296, allocations: 15.75 kB / 449.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.296, allocations: 1.625 kB / 449.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.296, allocations: 2.953 kB / 449.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.296, allocations: 1.031 kB / 449.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.296, allocations: 6.578 kB / 449.8 MB, free: 17.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.2963, allocations: 212.8 kB / 450 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.2963, allocations: 12.52 kB / 450 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.2963, allocations: 6.344 kB / 450 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.2964, allocations: 7.547 kB / 450 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.2964, allocations: 9.781 kB / 450 MB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.2965, allocations: 3.938 kB / 450 MB, free: 17.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.2966, allocations: 129.2 kB / 450.1 MB, free: 17.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2966, allocations: 1.5 kB / 450.1 MB, free: 17.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003539/0.2969, allocations: 49.36 kB / 450.2 MB, free: 17.7 MB / 366.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.002216/0.2991, allocations: 0.5783 MB / 450.8 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.2994, allocations: 65.17 kB / 450.8 MB, free: 17.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2994, allocations: 1.188 kB / 450.8 MB, free: 17.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.2995, allocations: 28.41 kB / 450.9 MB, free: 17.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.2999, allocations: 33.19 kB / 450.9 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.3005, allocations: 208.8 kB / 451.1 MB, free: 17.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.826e-05/0.3006, allocations: 92.92 kB / 451.2 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.402e-05/0.3007, allocations: 19.7 kB / 451.2 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.523e-05/0.3007, allocations: 20.44 kB / 451.2 MB, free: 17.19 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3007, allocations: 0 / 451.2 MB, free: 17.19 MB / 366.1 MB Notification: Performance of Templates: time 0.006996/0.3077, allocations: 2.508 MB / 453.7 MB, free: 16.86 MB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/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.209794782102108]