Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.001717/0.001717, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002219/0.002219, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 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.569/1.569, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 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.3551/0.3551, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.394e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.005127/0.005161, allocations: 1.714 MB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.007399, allocations: 0.9736 MB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.007515, allocations: 3.938 kB / 380 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.007875, allocations: 43.7 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.008321, allocations: 99.53 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.008615, allocations: 79.61 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.008849, allocations: 107.6 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.008957, allocations: 11.98 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.009095, allocations: 51.89 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.009198, allocations: 31.84 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.00922, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.009361, allocations: 43.92 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.975e-05/0.009431, allocations: 23.92 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.009492, allocations: 23.91 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.00977, allocations: 123.5 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.009774, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.009775, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.009781, allocations: 0 / 380.6 MB, free: 15.46 MB / 362.7 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.0007101/0.01049, allocations: 345.6 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.01054, allocations: 8.031 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.01062, allocations: 16.84 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.01099, allocations: 150.1 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.01101, allocations: 12.36 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.01104, allocations: 4.312 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.01122, allocations: 66.22 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.01124, allocations: 192 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.01126, allocations: 384 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.01127, allocations: 3.938 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.066e-05/0.01136, allocations: 23.98 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.01178, allocations: 228.6 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.01199, allocations: 62.61 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.01206, allocations: 24.84 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.01208, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.01226, allocations: 71.33 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.01226, allocations: 0 / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006536/0.01292, allocations: 193.2 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.01297, allocations: 51.41 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.01324, allocations: 214.4 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.01326, allocations: 25.7 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.01335, allocations: 108.1 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.01339, allocations: 27.81 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.01344, allocations: 21.72 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.01362, allocations: 326.8 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.01369, allocations: 19.94 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.01377, allocations: 37.7 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.01391, allocations: 61.7 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01391, allocations: 0 / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002488/0.01416, allocations: 113.5 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.01418, allocations: 12.03 kB / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.01418, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.0142, allocations: 0 / 382.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.01431, allocations: 15.98 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.01432, allocations: 4.156 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.01437, allocations: 3.938 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.01438, allocations: 8 kB / 382.8 MB, free: 13.06 MB / 362.7 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.0001397/0.01452, allocations: 129.8 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.01456, allocations: 15.84 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.01488, allocations: 135.2 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01488, allocations: 4 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01489, allocations: 384 / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01489, allocations: 0 / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005663/0.01546, allocations: 354.9 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.01546, allocations: 4 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.0155, allocations: 8 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.01551, allocations: 4 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.01552, allocations: 3.984 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01552, allocations: 0 / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.01553, allocations: 4 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.01584, allocations: 220.2 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.01587, allocations: 11.91 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.0159, allocations: 3.984 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.01599, allocations: 7.938 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.01604, allocations: 11.98 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.01605, allocations: 4 kB / 383.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.01623, allocations: 159.2 kB / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01623, allocations: 0 / 383.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002777/0.0165, allocations: 16 kB / 383.9 MB, free: 11.91 MB / 362.7 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.002349/0.01885, allocations: 485.6 kB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.01908, allocations: 59.8 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01908, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.01917, allocations: 36.05 kB / 384.5 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.01957, allocations: 42.12 kB / 384.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006096/0.02018, allocations: 245.3 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.0203, allocations: 92.81 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.02036, allocations: 17.27 kB / 384.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.0204, allocations: 20.56 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.0204, allocations: 3.938 kB / 384.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.00588/0.02628, allocations: 1.868 MB / 386.8 MB, free: 9.199 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.8899476929800585]