Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001779/0.002972, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001421/0.002535, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.202/1.202, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1514/1.354, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3188/0.3188, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03613/0.3549, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.438e-05, allocations: 3.078 kB / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.004071/0.004106, allocations: 1.808 MB / 292.5 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.005627, allocations: 1.02 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.005728, allocations: 0 / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.005991, allocations: 46.61 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.006286, allocations: 86.23 kB / 293.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.006518, allocations: 83.61 kB / 293.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.006728, allocations: 111.6 kB / 293.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.006843, allocations: 8.734 kB / 293.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.007, allocations: 79.77 kB / 293.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.224e-05/0.007092, allocations: 31.89 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.00711, allocations: 4 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.007217, allocations: 43.92 kB / 294 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.723e-05/0.007275, allocations: 15.94 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/0.007313, allocations: 15.94 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.007495, allocations: 99.59 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.925e-05/0.007514, allocations: 7.938 kB / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.007516, allocations: 0 / 294.1 MB, free: 4.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.007535, allocations: 0 / 294.1 MB, free: 4.762 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.0007328/0.008268, allocations: 340.5 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.008305, allocations: 8.031 kB / 294.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.008346, allocations: 8.922 kB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.008523, allocations: 142.3 kB / 294.6 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.008542, allocations: 4.375 kB / 294.6 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.008561, allocations: 4.375 kB / 294.6 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.008686, allocations: 61.77 kB / 294.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.008701, allocations: 7.938 kB / 294.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.008708, allocations: 3.938 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.008717, allocations: 4 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.212e-05/0.008749, allocations: 7.984 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.008997, allocations: 165.9 kB / 294.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.009126, allocations: 89.34 kB / 295 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.009152, allocations: 8.859 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.009166, allocations: 0 / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.009298, allocations: 70.03 kB / 295.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.0093, allocations: 4 kB / 295.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003628/0.009663, allocations: 113.7 kB / 295.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.009703, allocations: 51.41 kB / 295.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.009829, allocations: 184.8 kB / 295.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.009849, allocations: 29.7 kB / 295.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.009891, allocations: 92.11 kB / 295.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.009923, allocations: 23.83 kB / 295.5 MB, free: 3.223 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.678e-05/0.00996, allocations: 21.72 kB / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.919e-05/0.01005, allocations: 326.8 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.188e-05/0.01007, allocations: 10.81 kB / 295.9 MB, free: 2.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.894e-05/0.0101, allocations: 29.84 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.298e-05/0.01015, allocations: 48.44 kB / 296 MB, free: 2.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01015, allocations: 4 kB / 296 MB, free: 2.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.694e-05/0.01025, allocations: 68.38 kB / 296 MB, free: 2.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01026, allocations: 8 kB / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01027, allocations: 0 / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.01028, allocations: 0 / 296 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-05/0.01037, allocations: 16 kB / 296.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.01037, allocations: 0 / 296.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.01041, allocations: 16.02 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.01041, allocations: 0 / 296.1 MB, free: 2.648 MB / 282.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.582e-05/0.01049, allocations: 116.6 kB / 296.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.0105, allocations: 19.92 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.01062, allocations: 71.23 kB / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01063, allocations: 3.984 kB / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01063, allocations: 0 / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01063, allocations: 0 / 296.3 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.01088, allocations: 307.3 kB / 296.6 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.01089, allocations: 4.031 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.01092, allocations: 12 kB / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.01094, allocations: 7.953 kB / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01094, allocations: 0 / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.01095, allocations: 0 / 296.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01095, allocations: 7.922 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.01095, allocations: 4 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.01108, allocations: 223 kB / 296.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.0111, allocations: 0 / 296.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.01115, allocations: 8 kB / 296.8 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.01118, allocations: 15.92 kB / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.01119, allocations: 0 / 296.9 MB, free: 1.801 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.949e-05/0.01124, allocations: 51.64 kB / 296.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01124, allocations: 0 / 296.9 MB, free: 1.746 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001527/0.0114, allocations: 23.98 kB / 296.9 MB, free: 1.723 MB / 282.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.001667/0.01306, allocations: 0.6284 MB / 297.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.01318, allocations: 44.72 kB / 297.6 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.01319, allocations: 4 kB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.37e-05/0.01322, allocations: 28.77 kB / 297.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.01343, allocations: 43.67 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.01394, allocations: 223.9 kB / 297.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01398, allocations: 67.33 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.257e-05/0.01403, allocations: 17.27 kB / 298 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.0141, allocations: 67.36 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.0141, allocations: 0 / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of Templates: time 0.004077/0.01818, allocations: 2.044 MB / 300.1 MB, free: 14.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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: 3.363689190708101]