Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.000993/0.000993, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001041/0.002034, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007369/0.0007369, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009938/0.001731, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.96/0.96, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09128/1.051, allocations: 53.86 MB / 243.7 MB, free: 14.9 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.289/0.289, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02782/0.3168, allocations: 13.23 MB / 292.6 MB, free: 6.465 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 293.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.534e-05, allocations: 5.625 kB / 294 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002947/0.002973, allocations: 1.76 MB / 295.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.004664, allocations: 1.002 MB / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.004744, allocations: 0 / 296.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.004987, allocations: 67.73 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.005244, allocations: 111.4 kB / 296.9 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.00541, allocations: 75.61 kB / 297 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.005593, allocations: 103.7 kB / 297.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.005635, allocations: 8.172 kB / 297.1 MB, free: 1.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.005774, allocations: 83.75 kB / 297.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.928e-05/0.005873, allocations: 39.89 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.005888, allocations: 4 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.181e-05/0.00597, allocations: 35.98 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.006015, allocations: 19.92 kB / 297.3 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.006054, allocations: 11.94 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.006226, allocations: 91.55 kB / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.854e-05/0.006245, allocations: 0 / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006246, allocations: 0 / 297.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.006264, allocations: 0 / 297.4 MB, free: 1.676 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.0005104/0.006774, allocations: 329.2 kB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.006809, allocations: 8.922 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.006842, allocations: 8.922 kB / 297.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.007002, allocations: 150.3 kB / 297.8 MB, free: 1.145 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.007019, allocations: 4.375 kB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.007028, allocations: 4.375 kB / 297.8 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.007144, allocations: 57.7 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.007152, allocations: 192 / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-06/0.007159, allocations: 4.375 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.007165, allocations: 3.938 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.007193, allocations: 7.984 kB / 297.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.975e-05/0.007283, allocations: 78.58 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.64e-05/0.007359, allocations: 41.42 kB / 298 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.007378, allocations: 12.86 kB / 298 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.007389, allocations: 0 / 298 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.374e-05/0.007482, allocations: 70.16 kB / 298.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 7.31e-07/0.007483, allocations: 0 / 298.1 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000112/0.007595, allocations: 57.61 kB / 298.2 MB, free: 0.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.007628, allocations: 55.41 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.00773, allocations: 181.2 kB / 298.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.007744, allocations: 29.7 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.00777, allocations: 92.11 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.007797, allocations: 15.91 kB / 298.5 MB, free: 356 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.007832, allocations: 25.69 kB / 298.6 MB, free: 324 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.00793, allocations: 322.8 kB / 298.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.00795, allocations: 10.77 kB / 298.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.257e-05/0.007972, allocations: 21.7 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/0.008011, allocations: 31.36 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.008013, allocations: 0 / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.218e-05/0.008095, allocations: 64.44 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.008108, allocations: 4 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.008113, allocations: 4.031 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.008122, allocations: 4 kB / 299 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.008191, allocations: 11.98 kB / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.008194, allocations: 0 / 299 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.008225, allocations: 7.938 kB / 299 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.008229, allocations: 0 / 299 MB, free: 15.81 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.702e-05/0.008306, allocations: 120.6 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.008318, allocations: 7.984 kB / 299.2 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.876e-05/0.008417, allocations: 62.98 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.00842, allocations: 0 / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.008422, allocations: 4 kB / 299.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.008427, allocations: 3.938 kB / 299.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.685e-05/0.008504, allocations: 86.23 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.008506, allocations: 0 / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.008529, allocations: 8 kB / 299.3 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.008551, allocations: 23.83 kB / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008554, allocations: 0 / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.00856, allocations: 0 / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.008561, allocations: 0 / 299.3 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.008565, allocations: 3.984 kB / 299.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.533e-05/0.008661, allocations: 90.64 kB / 299.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.008676, allocations: 8 kB / 299.4 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.188e-05/0.008698, allocations: 7.938 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.008722, allocations: 3.984 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.008735, allocations: 4 kB / 299.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.008784, allocations: 51.64 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008784, allocations: 0 / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001343/0.008918, allocations: 16 kB / 299.5 MB, free: 15.26 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.001407/0.01033, allocations: 0.5376 MB / 300.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.674e-05/0.01042, allocations: 44.72 kB / 300.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.01043, allocations: 0 / 300.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.375e-05/0.01045, allocations: 16.86 kB / 300.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.01059, allocations: 30.38 kB / 300.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.01101, allocations: 203 kB / 300.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.435e-05/0.01105, allocations: 63.34 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.01108, allocations: 12.48 kB / 300.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.01114, allocations: 67.42 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01114, allocations: 4 kB / 300.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of Templates: time 0.003477/0.01462, allocations: 1.8 MB / 302.3 MB, free: 12.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.8303023874759674]