Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.000815/0.000815, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0008742/0.0008742, allocations: 160.2 kB / 24.91 MB, free: 8.766 MB / 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 0.9556/0.9556, allocations: 177 MB / 205.2 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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.3024/0.3024, allocations: 34.87 MB / 296.6 MB, free: 0.5273 MB / 266.7 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.91e-07/9.91e-07, allocations: 0 / 326 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.1e-05, allocations: 2.312 kB / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.00187/0.001881, allocations: 1.769 MB / 327.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.002985, allocations: 1.013 MB / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.003046, allocations: 0 / 328.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.00326, allocations: 39.7 kB / 328.8 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.003489, allocations: 91.55 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.003637, allocations: 83.55 kB / 329 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.003767, allocations: 111.7 kB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.003825, allocations: 7.984 kB / 329.1 MB, free: 3.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.383e-05/0.003899, allocations: 59.77 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.003955, allocations: 27.91 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.003966, allocations: 4 kB / 329.2 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.487e-05/0.004031, allocations: 43.92 kB / 329.2 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.643e-05/0.004068, allocations: 19.92 kB / 329.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.004093, allocations: 15.92 kB / 329.3 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.004217, allocations: 107.6 kB / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004218, allocations: 0 / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004219, allocations: 0 / 329.4 MB, free: 3.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.004222, allocations: 4 kB / 329.4 MB, free: 3.688 MB / 298.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.0003001/0.004522, allocations: 313.6 kB / 329.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.425e-05/0.004546, allocations: 8.031 kB / 329.7 MB, free: 3.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.656e-05/0.004573, allocations: 16.92 kB / 329.7 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004698, allocations: 133.6 kB / 329.8 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.004712, allocations: 8.375 kB / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.004727, allocations: 384 / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.451e-05/0.004811, allocations: 61.75 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004819, allocations: 4.188 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.004826, allocations: 4.375 kB / 329.9 MB, free: 3.094 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004832, allocations: 7.938 kB / 329.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.071e-05/0.004853, allocations: 7.938 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.005025, allocations: 169.9 kB / 330.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.784e-05/0.005103, allocations: 89.27 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.00512, allocations: 12.92 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.00513, allocations: 4 kB / 330.2 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/0.005194, allocations: 62.14 kB / 330.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 7.31e-07/0.005195, allocations: 4 kB / 330.3 MB, free: 2.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000228/0.005423, allocations: 109.5 kB / 330.4 MB, free: 2.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.005453, allocations: 63.33 kB / 330.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.005543, allocations: 176.9 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.005554, allocations: 25.7 kB / 330.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.176e-05/0.005586, allocations: 92.12 kB / 330.7 MB, free: 2.199 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.005609, allocations: 27.73 kB / 330.8 MB, free: 2.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.005638, allocations: 25.7 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.675e-05/0.005704, allocations: 322.8 kB / 331.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.005719, allocations: 14.81 kB / 331.1 MB, free: 1.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.005739, allocations: 21.7 kB / 331.1 MB, free: 1.773 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.286e-05/0.005782, allocations: 56.44 kB / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.005783, allocations: 0 / 331.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.331e-05/0.005846, allocations: 68.88 kB / 331.3 MB, free: 1.637 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.005856, allocations: 7.938 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.005859, allocations: 0 / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.005869, allocations: 0 / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.944e-05/0.005918, allocations: 19.94 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.005922, allocations: 4 kB / 331.3 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.005945, allocations: 3.984 kB / 331.3 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.005951, allocations: 8.031 kB / 331.3 MB, free: 1.594 MB / 298.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 5.324e-05/0.006004, allocations: 112.7 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.006016, allocations: 15.92 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.503e-05/0.006101, allocations: 75.08 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.006102, allocations: 0 / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.006104, allocations: 4 kB / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.006107, allocations: 0 / 331.5 MB, free: 1.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.006297, allocations: 283.5 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.006299, allocations: 3.938 kB / 331.8 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.01e-05/0.006319, allocations: 11.98 kB / 331.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.006322, allocations: 8.031 kB / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.006327, allocations: 0 / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.006328, allocations: 240 / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006329, allocations: 0 / 331.8 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.348e-05/0.006422, allocations: 223 kB / 332 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.006435, allocations: 19.83 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.006448, allocations: 0 / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.604e-05/0.006484, allocations: 4 kB / 332 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.006508, allocations: 3.984 kB / 332 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.00652, allocations: 11.94 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.006555, allocations: 48.34 kB / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006555, allocations: 0 / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.006698, allocations: 27.88 kB / 332.1 MB, free: 0.6836 MB / 298.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.001146/0.007844, allocations: 0.5642 MB / 332.7 MB, free: 412 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.00792, allocations: 44.75 kB / 332.7 MB, free: 364 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.007925, allocations: 4 kB / 332.7 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.007951, allocations: 20.86 kB / 332.8 MB, free: 336 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.008105, allocations: 32.41 kB / 332.8 MB, free: 304 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.008359, allocations: 216.2 kB / 333 MB, free: 52 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.331e-05/0.008402, allocations: 67.39 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.164e-05/0.008434, allocations: 21.34 kB / 333.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.28e-05/0.008496, allocations: 71.36 kB / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008497, allocations: 0 / 333.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of Templates: time 0.003015/0.01151, allocations: 2.01 MB / 335.2 MB, free: 13.9 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9381003133021295]