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.00137/0.00137, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001755/0.001755, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.057/1.057, allocations: 177 MB / 205.2 MB, free: 5.043 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.3384/0.3384, allocations: 34.86 MB / 296.6 MB, free: 412 kB / 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 326 MB, free: 7.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.565e-05/3.776e-05, allocations: 4.172 kB / 326 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.004203/0.004241, allocations: 1.806 MB / 327.9 MB, free: 5.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.006173, allocations: 1.013 MB / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.006281, allocations: 0 / 328.9 MB, free: 4.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003819/0.006663, allocations: 43.7 kB / 328.9 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.007047, allocations: 95.47 kB / 329 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.007318, allocations: 79.69 kB / 329.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.007546, allocations: 112.3 kB / 329.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.007645, allocations: 7.984 kB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.007771, allocations: 51.89 kB / 329.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.218e-05/0.007863, allocations: 27.91 kB / 329.3 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.007882, allocations: 4 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.007996, allocations: 47.86 kB / 329.3 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.008056, allocations: 31.84 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.008099, allocations: 19.92 kB / 329.4 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.008315, allocations: 99.66 kB / 329.5 MB, free: 3.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.008319, allocations: 4 kB / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00832, allocations: 0 / 329.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.008326, allocations: 3.938 kB / 329.5 MB, free: 3.555 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.0004739/0.0088, allocations: 321.5 kB / 329.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.008846, allocations: 8.031 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.008892, allocations: 8.922 kB / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.009098, allocations: 154 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.009114, allocations: 384 / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.009134, allocations: 4.375 kB / 330 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.009256, allocations: 61.77 kB / 330 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.009266, allocations: 4.188 kB / 330 MB, free: 2.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.009275, allocations: 4.375 kB / 330 MB, free: 2.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.009282, allocations: 3.938 kB / 330 MB, free: 2.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.009311, allocations: 7.984 kB / 330 MB, free: 2.934 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002512/0.009562, allocations: 177.9 kB / 330.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.009671, allocations: 81.3 kB / 330.3 MB, free: 2.652 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.009691, allocations: 8.859 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.009704, allocations: 4 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/0.009809, allocations: 58.22 kB / 330.4 MB, free: 2.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.00981, allocations: 4 kB / 330.4 MB, free: 2.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002995/0.01011, allocations: 121.4 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.01014, allocations: 55.41 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.01024, allocations: 180.2 kB / 330.7 MB, free: 2.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.01026, allocations: 25.7 kB / 330.7 MB, free: 2.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.01029, allocations: 100.1 kB / 330.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.01032, allocations: 31.7 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.01034, allocations: 17.72 kB / 330.9 MB, free: 1.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.01042, allocations: 334.7 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.01044, allocations: 10.83 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.01047, allocations: 21.72 kB / 331.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.01051, allocations: 44.88 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.01051, allocations: 0 / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.536e-05/0.01059, allocations: 72.44 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.01061, allocations: 9.188 kB / 331.4 MB, free: 1.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01061, allocations: 4 kB / 331.4 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.01063, allocations: 4 kB / 331.4 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.0107, allocations: 19.92 kB / 331.4 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.0107, allocations: 4.031 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.01073, allocations: 8 kB / 331.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.01074, allocations: 4 kB / 331.4 MB, free: 1.438 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 7.019e-05/0.01081, allocations: 116.7 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.01083, allocations: 15.92 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.01094, allocations: 75.08 kB / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01094, allocations: 0 / 331.6 MB, free: 1.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01094, allocations: 3.984 kB / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01094, allocations: 0 / 331.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.01116, allocations: 299.6 kB / 331.9 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01116, allocations: 3.938 kB / 331.9 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.01119, allocations: 12 kB / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01119, allocations: 0 / 331.9 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.0112, allocations: 3.984 kB / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.0112, allocations: 0 / 331.9 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0112, allocations: 4 kB / 331.9 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.01131, allocations: 211.1 kB / 332.1 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.01132, allocations: 15.84 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.01133, allocations: 0 / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.147e-05/0.01138, allocations: 7.984 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.767e-05/0.0114, allocations: 16.02 kB / 332.2 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.01142, allocations: 3.984 kB / 332.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.386e-05/0.01146, allocations: 60.69 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01146, allocations: 0 / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001513/0.01161, allocations: 19.94 kB / 332.3 MB, free: 0.5117 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.001338/0.01295, allocations: 0.5662 MB / 332.8 MB, free: 240 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.01308, allocations: 40.84 kB / 332.9 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.01308, allocations: 0 / 332.9 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.01312, allocations: 32.77 kB / 332.9 MB, free: 160 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.01332, allocations: 35.84 kB / 332.9 MB, free: 124 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.01369, allocations: 228 kB / 333.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.943e-05/0.01373, allocations: 71.28 kB / 333.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.138e-05/0.01377, allocations: 21.25 kB / 333.3 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.01384, allocations: 67.36 kB / 333.3 MB, free: 15.69 MB / 314.7 MB Notification: Performance of SimCode: time 1.093e-06/0.01384, allocations: 4 kB / 333.3 MB, free: 15.68 MB / 314.7 MB Notification: Performance of Templates: time 0.00353/0.01737, allocations: 2.013 MB / 335.3 MB, free: 13.7 MB / 314.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] 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","",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.0844726618379354]