Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001228/0.001228, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002242/0.00347, 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.001111/0.001111, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002616, 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.9582/0.9582, allocations: 177.5 MB / 190 MB, free: 4.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09695/1.055, allocations: 53.88 MB / 243.9 MB, free: 14.8 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.2714/0.2714, allocations: 34.89 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02639/0.2978, allocations: 13.23 MB / 292.8 MB, free: 6.355 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 294.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.119e-05, allocations: 3.719 kB / 294.2 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003208/0.003229, allocations: 1.814 MB / 296 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.004929, allocations: 1.02 MB / 297 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.005004, allocations: 3.938 kB / 297 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.005262, allocations: 91.62 kB / 297.1 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.005569, allocations: 123.3 kB / 297.2 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.005809, allocations: 87.53 kB / 297.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.006001, allocations: 111.6 kB / 297.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.00608, allocations: 7.984 kB / 297.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.006246, allocations: 91.8 kB / 297.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.006357, allocations: 47.88 kB / 297.6 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.006375, allocations: 11.94 kB / 297.6 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.006476, allocations: 47.86 kB / 297.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.006524, allocations: 19.94 kB / 297.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.006558, allocations: 15.94 kB / 297.7 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.00675, allocations: 103.6 kB / 297.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.00676, allocations: 0 / 297.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006761, allocations: 0 / 297.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.00677, allocations: 0 / 297.8 MB, free: 1.359 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.0004611/0.007231, allocations: 352.9 kB / 298.1 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.007263, allocations: 8.922 kB / 298.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.007301, allocations: 8.938 kB / 298.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.007475, allocations: 161.5 kB / 298.3 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.00749, allocations: 8.375 kB / 298.3 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.00751, allocations: 4.375 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.007624, allocations: 61.77 kB / 298.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.007633, allocations: 192 / 298.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.00764, allocations: 384 / 298.4 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.007647, allocations: 3.938 kB / 298.4 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.06e-05/0.007678, allocations: 15.92 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.007901, allocations: 162 kB / 298.5 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.00801, allocations: 85.36 kB / 298.6 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.00804, allocations: 16.84 kB / 298.6 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.00805, allocations: 0 / 298.6 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.008151, allocations: 66.16 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.008153, allocations: 0 / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003365/0.008489, allocations: 121.5 kB / 298.8 MB, free: 204 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.008519, allocations: 55.41 kB / 298.9 MB, free: 136 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.008672, allocations: 193 kB / 299.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.00869, allocations: 29.7 kB / 299.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.008728, allocations: 96.11 kB / 299.2 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.008759, allocations: 23.78 kB / 299.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.008796, allocations: 25.7 kB / 299.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.008886, allocations: 326.8 kB / 299.6 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.008912, allocations: 10.83 kB / 299.6 MB, free: 15.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.326e-05/0.008946, allocations: 26.62 kB / 299.6 MB, free: 15.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.691e-05/0.009003, allocations: 48.53 kB / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.009004, allocations: 0 / 299.6 MB, free: 15.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001022/0.009106, allocations: 64.5 kB / 299.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.009121, allocations: 7.938 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.009127, allocations: 7.938 kB / 299.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.009137, allocations: 4.031 kB / 299.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.541e-05/0.009223, allocations: 15.98 kB / 299.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.009226, allocations: 4 kB / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.857e-05/0.009264, allocations: 384 / 299.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.009274, allocations: 8 kB / 299.8 MB, free: 15.2 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 7.404e-05/0.009348, allocations: 120.6 kB / 299.9 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.00937, allocations: 15.92 kB / 299.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.009499, allocations: 75.06 kB / 300 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.009502, allocations: 8 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.009503, allocations: 4 kB / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.009507, allocations: 0 / 300 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.009788, allocations: 291.5 kB / 300.3 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.009792, allocations: 3.938 kB / 300.3 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.009843, allocations: 15.98 kB / 300.3 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.00986, allocations: 11.94 kB / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.009863, allocations: 0 / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.00987, allocations: 0 / 300.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.009873, allocations: 4 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.009876, allocations: 3.938 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.01002, allocations: 219.6 kB / 300.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.01004, allocations: 4 kB / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.01011, allocations: 0 / 300.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.01014, allocations: 15.92 kB / 300.5 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.01015, allocations: 3.938 kB / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.986e-05/0.01022, allocations: 69.55 kB / 300.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01022, allocations: 0 / 300.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.01046, allocations: 27.92 kB / 300.6 MB, free: 14.25 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.001853/0.01231, allocations: 0.6221 MB / 301.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01242, allocations: 36.84 kB / 301.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.01243, allocations: 0 / 301.3 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.01248, allocations: 32.72 kB / 301.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.0128, allocations: 200.5 kB / 301.5 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.01339, allocations: 238.7 kB / 301.7 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.01344, allocations: 63.34 kB / 301.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.01349, allocations: 12.97 kB / 301.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.01358, allocations: 71.36 kB / 301.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01358, allocations: 0 / 301.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of Templates: time 0.004933/0.01852, allocations: 2.053 MB / 303.9 MB, free: 11.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.8180208671838045]