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.001097/0.001097, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003473/0.00457, 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.001451/0.001451, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006778/0.008229, 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 0.9968/0.9968, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1009/1.098, allocations: 53.88 MB / 243.9 MB, free: 14.85 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.2786/0.2786, allocations: 34.89 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02912/0.3077, allocations: 13.23 MB / 292.8 MB, free: 6.395 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.724e-06/1.724e-06, allocations: 0 / 294.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.735e-05, allocations: 2.312 kB / 294.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003645/0.003673, allocations: 1.77 MB / 296 MB, free: 3.227 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.005509, allocations: 1.005 MB / 297 MB, free: 2.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.00561, allocations: 4 kB / 297 MB, free: 2.211 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003291/0.005939, allocations: 71.59 kB / 297 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.006307, allocations: 107.4 kB / 297.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.006561, allocations: 83.56 kB / 297.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.006794, allocations: 103.7 kB / 297.3 MB, free: 1.852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.006851, allocations: 4.234 kB / 297.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.007058, allocations: 98.48 kB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.007186, allocations: 35.91 kB / 297.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.007208, allocations: 4 kB / 297.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.007317, allocations: 27.98 kB / 297.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.007389, allocations: 19.94 kB / 297.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.007434, allocations: 11.94 kB / 297.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.007704, allocations: 95.53 kB / 297.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.85e-05/0.007722, allocations: 4 kB / 297.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.007725, allocations: 0 / 297.6 MB, free: 1.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.007739, allocations: 0 / 297.6 MB, free: 1.559 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.0007351/0.008474, allocations: 321.2 kB / 297.9 MB, free: 1.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/0.008534, allocations: 8.922 kB / 297.9 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.799e-05/0.008601, allocations: 12.92 kB / 297.9 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.008888, allocations: 138.3 kB / 298.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.008916, allocations: 384 / 298.1 MB, free: 1.043 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.008939, allocations: 8.375 kB / 298.1 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.009141, allocations: 61.77 kB / 298.2 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.009154, allocations: 4.125 kB / 298.2 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.009166, allocations: 8.359 kB / 298.2 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.009178, allocations: 3.938 kB / 298.2 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.186e-05/0.009229, allocations: 11.97 kB / 298.2 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.009389, allocations: 70.59 kB / 298.2 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.009547, allocations: 41.44 kB / 298.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.009579, allocations: 12.84 kB / 298.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.009602, allocations: 0 / 298.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.009791, allocations: 62.16 kB / 298.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.525e-06/0.009793, allocations: 4 kB / 298.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002135/0.01001, allocations: 53.69 kB / 298.4 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.01006, allocations: 59.39 kB / 298.5 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01023, allocations: 181.2 kB / 298.7 MB, free: 396 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.01025, allocations: 25.7 kB / 298.7 MB, free: 364 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.01029, allocations: 96.05 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.01034, allocations: 19.89 kB / 298.8 MB, free: 244 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.01038, allocations: 13.72 kB / 298.8 MB, free: 224 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.01052, allocations: 322.8 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.428e-05/0.01054, allocations: 6.828 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.523e-05/0.01058, allocations: 33.62 kB / 299.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/0.01063, allocations: 35.36 kB / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01064, allocations: 0 / 299.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001017/0.01074, allocations: 56.45 kB / 299.3 MB, free: 15.74 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.01076, allocations: 7.984 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.01077, allocations: 4 kB / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01078, allocations: 0 / 299.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.01087, allocations: 8 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01088, allocations: 4 kB / 299.3 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.01093, allocations: 11.97 kB / 299.3 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.01093, allocations: 4.312 kB / 299.3 MB, free: 15.7 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 9.01e-05/0.01102, allocations: 112.7 kB / 299.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.01104, allocations: 11.94 kB / 299.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000147/0.01119, allocations: 66.83 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01119, allocations: 0 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.0112, allocations: 0 / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.0112, allocations: 3.938 kB / 299.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.01131, allocations: 89.84 kB / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01131, allocations: 0 / 299.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.859e-05/0.01135, allocations: 8 kB / 299.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.01137, allocations: 15.84 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01138, allocations: 0 / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.01138, allocations: 0 / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.01139, allocations: 4 kB / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01139, allocations: 0 / 299.6 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.01151, allocations: 90.64 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.01153, allocations: 0 / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.058e-05/0.01157, allocations: 7.984 kB / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.01161, allocations: 0 / 299.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.01162, allocations: 8 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.312e-05/0.01168, allocations: 55.62 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01168, allocations: 3.938 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001864/0.01187, allocations: 23.98 kB / 299.8 MB, free: 15.15 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.002305/0.01418, allocations: 0.5437 MB / 300.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.01431, allocations: 36.72 kB / 300.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/0.01433, allocations: 3.984 kB / 300.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.01439, allocations: 17.05 kB / 300.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.01471, allocations: 180.7 kB / 300.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007004/0.01541, allocations: 195.1 kB / 300.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.928e-05/0.01546, allocations: 71.22 kB / 300.8 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.69e-05/0.01551, allocations: 16.47 kB / 300.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.01559, allocations: 63.36 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of SimCode: time 1.522e-06/0.01559, allocations: 0 / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of Templates: time 0.004863/0.02046, allocations: 1.804 MB / 302.7 MB, free: 12.46 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8541450621560216]