Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001206/0.001206, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001796/0.003001, 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.001117/0.001117, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001389/0.002505, 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 1.022/1.022, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09016/1.112, allocations: 53.87 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.2693/0.2693, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03623/0.3056, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 293.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.368e-06/1.088e-05, allocations: 2.312 kB / 293.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.001895/0.001906, allocations: 1.814 MB / 295.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.003017, allocations: 1.025 MB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.003077, allocations: 4 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.003237, allocations: 47.69 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.003425, allocations: 87.48 kB / 296.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.003582, allocations: 79.61 kB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.003711, allocations: 111.6 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.003771, allocations: 8 kB / 297.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.003876, allocations: 83.8 kB / 297.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.003938, allocations: 23.86 kB / 297.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.00395, allocations: 4 kB / 297.2 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.25e-05/0.004023, allocations: 43.92 kB / 297.3 MB, free: 1.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.004065, allocations: 19.92 kB / 297.3 MB, free: 1.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.004095, allocations: 15.94 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.004236, allocations: 103.6 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.004246, allocations: 0 / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004247, allocations: 0 / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.004257, allocations: 4 kB / 297.4 MB, free: 1.625 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003544/0.004611, allocations: 345 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.55e-05/0.004637, allocations: 8.922 kB / 297.8 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.004661, allocations: 8.922 kB / 297.8 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004785, allocations: 150.1 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.004798, allocations: 4.375 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.00481, allocations: 384 / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.351e-05/0.004893, allocations: 61.77 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.004899, allocations: 4.188 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-06/0.004905, allocations: 384 / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.00491, allocations: 7.938 kB / 298 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.565e-05/0.004935, allocations: 15.92 kB / 298 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.005115, allocations: 177.9 kB / 298.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.005192, allocations: 81.3 kB / 298.3 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.631e-05/0.005208, allocations: 8.859 kB / 298.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.005218, allocations: 4 kB / 298.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.014e-05/0.005298, allocations: 66.16 kB / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.005299, allocations: 0 / 298.3 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002363/0.005536, allocations: 121.5 kB / 298.5 MB, free: 488 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.005559, allocations: 55.34 kB / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.005651, allocations: 184.2 kB / 298.7 MB, free: 220 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.005662, allocations: 25.7 kB / 298.7 MB, free: 188 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.531e-05/0.005687, allocations: 92.12 kB / 298.8 MB, free: 92 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.005719, allocations: 35.72 kB / 298.8 MB, free: 56 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.005747, allocations: 17.72 kB / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.005826, allocations: 330.8 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.00584, allocations: 10.83 kB / 299.2 MB, free: 15.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.00586, allocations: 17.72 kB / 299.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.967e-05/0.0059, allocations: 52.52 kB / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.005901, allocations: 0 / 299.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.006006, allocations: 72.48 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.00602, allocations: 10.44 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.006023, allocations: 7.938 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.00603, allocations: 0 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.006094, allocations: 19.98 kB / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.275e-06/0.006096, allocations: 0 / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.786e-05/0.006124, allocations: 0 / 299.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.006129, allocations: 8.031 kB / 299.4 MB, free: 15.48 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 5.718e-05/0.006186, allocations: 116.7 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.006201, allocations: 11.92 kB / 299.5 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.781e-05/0.006298, allocations: 76.02 kB / 299.6 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.006302, allocations: 7.984 kB / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.006303, allocations: 0 / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.006306, allocations: 0 / 299.6 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.006497, allocations: 291.5 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.0065, allocations: 4.312 kB / 299.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.006525, allocations: 8 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.006537, allocations: 23.92 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006539, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.006544, allocations: 4 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.006546, allocations: 0 / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.006548, allocations: 7.938 kB / 299.9 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.943e-05/0.006638, allocations: 215 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.006655, allocations: 7.969 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.641e-05/0.006691, allocations: 4 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.006711, allocations: 15.86 kB / 300.1 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.006721, allocations: 4 kB / 300.2 MB, free: 14.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.936e-05/0.00676, allocations: 55.64 kB / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00676, allocations: 0 / 300.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.006901, allocations: 23.94 kB / 300.2 MB, free: 14.56 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.001323/0.008224, allocations: 0.6071 MB / 300.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.314e-05/0.008297, allocations: 48.77 kB / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.008303, allocations: 0 / 300.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.00833, allocations: 28.83 kB / 300.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.00849, allocations: 39.91 kB / 300.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.008868, allocations: 243.9 kB / 301.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.653e-05/0.008904, allocations: 71.33 kB / 301.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.114e-05/0.008935, allocations: 17.09 kB / 301.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.008991, allocations: 67.36 kB / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.008992, allocations: 0 / 301.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of Templates: time 0.003153/0.01215, allocations: 2.055 MB / 303.4 MB, free: 11.69 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.827943197451532]