Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.00084/0.00084, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001898, 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.0006988/0.0006988, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009294/0.001628, 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.061/1.061, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.166, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.2959/0.2959, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02628/0.3222, allocations: 13.24 MB / 292.8 MB, free: 6.359 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 294.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.804e-05, allocations: 6.188 kB / 294.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003233/0.003261, allocations: 1.768 MB / 296 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.005009, allocations: 1.013 MB / 297 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.005089, allocations: 0 / 297 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.005327, allocations: 55.61 kB / 297 MB, free: 2.125 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.005612, allocations: 107.4 kB / 297.1 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.005807, allocations: 79.55 kB / 297.2 MB, free: 1.941 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.006, allocations: 99.7 kB / 297.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.006048, allocations: 8.219 kB / 297.3 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.006228, allocations: 83.75 kB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.006342, allocations: 35.89 kB / 297.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.006362, allocations: 4 kB / 297.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.51e-05/0.006457, allocations: 35.92 kB / 297.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.788e-05/0.006515, allocations: 15.94 kB / 297.5 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.006553, allocations: 11.94 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.00675, allocations: 87.62 kB / 297.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.168e-05/0.006781, allocations: 0 / 297.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006782, allocations: 0 / 297.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.006794, allocations: 3.984 kB / 297.6 MB, free: 1.562 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.0005168/0.00731, allocations: 325.1 kB / 297.9 MB, free: 1.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.007349, allocations: 12.92 kB / 297.9 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.00739, allocations: 8.922 kB / 297.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.007584, allocations: 141.6 kB / 298.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.0076, allocations: 384 / 298.1 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.007617, allocations: 8.375 kB / 298.1 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.007758, allocations: 57.77 kB / 298.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.007767, allocations: 192 / 298.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.007775, allocations: 4.312 kB / 298.1 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.007785, allocations: 3.938 kB / 298.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.007817, allocations: 11.98 kB / 298.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001098/0.007927, allocations: 66.7 kB / 298.2 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.008031, allocations: 37.44 kB / 298.2 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.008058, allocations: 8.859 kB / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.00807, allocations: 0 / 298.3 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.008195, allocations: 70.14 kB / 298.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.008196, allocations: 0 / 298.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001527/0.008349, allocations: 53.67 kB / 298.4 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.008386, allocations: 59.41 kB / 298.4 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.008528, allocations: 169.6 kB / 298.6 MB, free: 424 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.008546, allocations: 25.7 kB / 298.6 MB, free: 392 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.008582, allocations: 96.11 kB / 298.7 MB, free: 292 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.008615, allocations: 11.91 kB / 298.7 MB, free: 280 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.008657, allocations: 25.69 kB / 298.8 MB, free: 248 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.008776, allocations: 322.8 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.008796, allocations: 6.828 kB / 299.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.903e-05/0.008825, allocations: 29.58 kB / 299.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.008875, allocations: 35.36 kB / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.008878, allocations: 0 / 299.1 MB, free: 15.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.344e-05/0.008971, allocations: 64.44 kB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.008985, allocations: 4 kB / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.00899, allocations: 0 / 299.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.009005, allocations: 4 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.00908, allocations: 8 kB / 299.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.009086, allocations: 3.984 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.311e-05/0.009129, allocations: 11.88 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.009136, allocations: 320 / 299.2 MB, free: 15.73 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 7.62e-05/0.009212, allocations: 120.7 kB / 299.3 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.009229, allocations: 7.984 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.00935, allocations: 66.78 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.009354, allocations: 3.984 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.009355, allocations: 0 / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.00936, allocations: 3.938 kB / 299.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.727e-05/0.009457, allocations: 85.81 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.009458, allocations: 0 / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.009492, allocations: 8 kB / 299.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.00951, allocations: 7.938 kB / 299.5 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.009512, allocations: 8 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.009526, allocations: 7.984 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.009529, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00953, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.557e-05/0.009615, allocations: 86.64 kB / 299.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.009629, allocations: 4 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.25e-05/0.009651, allocations: 4 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.009675, allocations: 4 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.009687, allocations: 3.984 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.726e-05/0.009724, allocations: 44.58 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009724, allocations: 0 / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001133/0.009837, allocations: 31.92 kB / 299.7 MB, free: 15.18 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.001216/0.01105, allocations: 0.5428 MB / 300.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.137e-05/0.01112, allocations: 28.78 kB / 300.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.01113, allocations: 7.938 kB / 300.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.971e-05/0.01116, allocations: 21.05 kB / 300.3 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.01134, allocations: 169.9 kB / 300.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.01173, allocations: 195.7 kB / 300.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.422e-05/0.01176, allocations: 67.28 kB / 300.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.01179, allocations: 12.48 kB / 300.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.01185, allocations: 63.36 kB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01185, allocations: 0 / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Templates: time 0.003043/0.01489, allocations: 1.808 MB / 302.6 MB, free: 12.51 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.09011868853122]