Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001402/0.001402, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001419/0.001419, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9689/0.9689, allocations: 177 MB / 204.8 MB, free: 5.59 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.2725/0.2725, allocations: 34.87 MB / 296.3 MB, free: 0.5469 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.153e-05, allocations: 3.156 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002475/0.002507, allocations: 1.776 MB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.003764, allocations: 1.012 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.003848, allocations: 4 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.004153, allocations: 55.64 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.004478, allocations: 103.5 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.004696, allocations: 75.61 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.004858, allocations: 119.6 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.544e-05/0.004944, allocations: 7.984 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.005026, allocations: 51.89 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.0051, allocations: 27.84 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.005116, allocations: 4 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.005201, allocations: 43.92 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.005253, allocations: 27.92 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.005296, allocations: 31.84 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.005473, allocations: 107.6 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005475, allocations: 3.938 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005476, allocations: 0 / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.00548, allocations: 4 kB / 382.3 MB, free: 14.55 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.0004621/0.005942, allocations: 479.6 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.005979, allocations: 8.031 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.006032, allocations: 16.84 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.006205, allocations: 165.2 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.006225, allocations: 8.312 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.006244, allocations: 4.375 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.006368, allocations: 58.94 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.006379, allocations: 4.188 kB / 383 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.006388, allocations: 4.375 kB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.006396, allocations: 7.938 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.189e-05/0.006428, allocations: 11.98 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.006733, allocations: 299.8 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.006836, allocations: 51.11 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.006863, allocations: 15.69 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.006874, allocations: 4 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-05/0.006969, allocations: 68.98 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.006971, allocations: 0 / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003714/0.007342, allocations: 173.2 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.007372, allocations: 51.41 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.007528, allocations: 273.6 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.007544, allocations: 33.7 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.007606, allocations: 162.9 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.007636, allocations: 35.7 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.007669, allocations: 27.31 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.007786, allocations: 0.504 MB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.007812, allocations: 11.98 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.007847, allocations: 35.36 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.333e-05/0.0079, allocations: 47.38 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007901, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001102/0.008011, allocations: 97.47 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.008025, allocations: 7.984 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.008029, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.008042, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/0.008112, allocations: 20 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.008116, allocations: 3.938 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.76e-05/0.008144, allocations: 0 / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.00815, allocations: 12.02 kB / 385 MB, free: 11.66 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.0004132/0.008564, allocations: 160.6 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.008583, allocations: 19.84 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.00873, allocations: 111 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.008734, allocations: 4 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.008737, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.008741, allocations: 384 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002706/0.009011, allocations: 405 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.009013, allocations: 8 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.562e-05/0.009039, allocations: 8.031 kB / 385.7 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.009041, allocations: 4 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.009053, allocations: 11.98 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.009056, allocations: 3.984 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.009057, allocations: 0 / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.009206, allocations: 259.4 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.009218, allocations: 15.91 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.009234, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.009276, allocations: 8 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.009306, allocations: 3.984 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.009318, allocations: 4 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.481e-05/0.009413, allocations: 200.5 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009413, allocations: 0 / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001764/0.009589, allocations: 35.86 kB / 386.2 MB, free: 10.34 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.0008761/0.01047, allocations: 430.5 kB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.01059, allocations: 59.52 kB / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01059, allocations: 0 / 386.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.844e-05/0.01063, allocations: 31.62 kB / 386.7 MB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.01086, allocations: 36.09 kB / 386.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.01123, allocations: 262.4 kB / 387 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.583e-05/0.01128, allocations: 71.33 kB / 387.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.047e-05/0.01132, allocations: 25.27 kB / 387.1 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.01135, allocations: 16.5 kB / 387.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of SimCode: time 1.262e-06/0.01135, allocations: 0 / 387.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of Templates: time 0.003875/0.01523, allocations: 2.022 MB / 389.1 MB, free: 7.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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: 3.206947028171271]