Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.000914/0.000914, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002543, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0008313/0.0008313, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001933/0.002764, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.136/1.136, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1048/1.241, allocations: 53.88 MB / 243.9 MB, free: 14.86 MB / 250.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.2924/0.2924, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02731/0.3197, allocations: 13.23 MB / 292.8 MB, free: 6.398 MB / 282.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 294.2 MB, free: 5.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.526e-05, allocations: 3.438 kB / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003478/0.003504, allocations: 1.777 MB / 296 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.005217, allocations: 1.005 MB / 297 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.422e-05/0.005311, allocations: 0 / 297 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.005568, allocations: 63.61 kB / 297 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.00588, allocations: 99.47 kB / 297.1 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.006123, allocations: 79.5 kB / 297.2 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.00634, allocations: 95.7 kB / 297.3 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.006392, allocations: 8.219 kB / 297.3 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.006575, allocations: 83.75 kB / 297.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.006668, allocations: 23.92 kB / 297.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.006688, allocations: 4 kB / 297.4 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.006789, allocations: 35.92 kB / 297.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.006856, allocations: 27.88 kB / 297.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.006896, allocations: 11.94 kB / 297.5 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.007112, allocations: 99.59 kB / 297.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.007125, allocations: 0 / 297.6 MB, free: 1.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007127, allocations: 3.938 kB / 297.6 MB, free: 1.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.007139, allocations: 0 / 297.6 MB, free: 1.59 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005718/0.007711, allocations: 360.9 kB / 297.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.007754, allocations: 16.92 kB / 297.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.007797, allocations: 4.938 kB / 298 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.008014, allocations: 158.5 kB / 298.1 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.008035, allocations: 12.36 kB / 298.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.008049, allocations: 384 / 298.1 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.008193, allocations: 61.7 kB / 298.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.008201, allocations: 192 / 298.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.00821, allocations: 384 / 298.2 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008219, allocations: 7.938 kB / 298.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.008248, allocations: 4 kB / 298.2 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.008372, allocations: 74.69 kB / 298.3 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.008476, allocations: 41.42 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.008501, allocations: 12.86 kB / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.008513, allocations: 0 / 298.3 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.008641, allocations: 62.16 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.008642, allocations: 0 / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.00015/0.008792, allocations: 61.67 kB / 298.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.008829, allocations: 51.41 kB / 298.5 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.009012, allocations: 223.9 kB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.009039, allocations: 25.7 kB / 298.7 MB, free: 304 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.00908, allocations: 100.1 kB / 298.8 MB, free: 200 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.00912, allocations: 15.84 kB / 298.8 MB, free: 184 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.009159, allocations: 21.7 kB / 298.9 MB, free: 156 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.009278, allocations: 334.7 kB / 299.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.009303, allocations: 10.77 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.009329, allocations: 17.72 kB / 299.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.009382, allocations: 35.34 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.009384, allocations: 0 / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.471e-05/0.009479, allocations: 68.44 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.009494, allocations: 4 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.009498, allocations: 4 kB / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.009512, allocations: 0 / 299.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.068e-05/0.009593, allocations: 11.98 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.009599, allocations: 4 kB / 299.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.009641, allocations: 4.25 kB / 299.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.009648, allocations: 4 kB / 299.4 MB, free: 15.63 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 (7): * Single equations (assignments): 7 * 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.557e-05/0.009733, allocations: 116.6 kB / 299.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.009752, allocations: 16.02 kB / 299.5 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.009878, allocations: 70.83 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00988, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.009882, allocations: 0 / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.009887, allocations: 3.938 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.009992, allocations: 89.84 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.009997, allocations: 0 / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.01003, allocations: 8 kB / 299.7 MB, free: 15.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.01005, allocations: 11.91 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.01006, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.01006, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01006, allocations: 4 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01007, allocations: 0 / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.01017, allocations: 94.64 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.0102, allocations: 3.984 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.677e-05/0.01023, allocations: 4 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.01026, allocations: 0 / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.01027, allocations: 4 kB / 299.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.01036, allocations: 75.61 kB / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01036, allocations: 0 / 299.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.01056, allocations: 19.94 kB / 299.9 MB, free: 15.06 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001856/0.01241, allocations: 0.5507 MB / 300.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.01252, allocations: 40.72 kB / 300.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.01253, allocations: 0 / 300.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.01257, allocations: 21.03 kB / 300.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.01284, allocations: 176.6 kB / 300.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.01346, allocations: 243.5 kB / 300.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.123e-05/0.01352, allocations: 67.28 kB / 301 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.016e-05/0.01356, allocations: 12.48 kB / 301 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.01365, allocations: 71.36 kB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01365, allocations: 3.938 kB / 301 MB, free: 14.1 MB / 298.7 MB Notification: Performance of Templates: time 0.004694/0.01834, allocations: 1.826 MB / 302.9 MB, free: 12.3 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1306163128465414]