Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.0008987/0.0008987, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002094, 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.0007564/0.0007564, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001883, 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.076/1.076, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09361/1.17, 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.3506/0.3506, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04185/0.3924, allocations: 12.53 MB / 289.3 MB, free: 8.676 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 290.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.373e-05, allocations: 3.078 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002997/0.003031, allocations: 1.81 MB / 292.5 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.004569, allocations: 1.014 MB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.004681, allocations: 2.875 kB / 293.5 MB, free: 5.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.00498, allocations: 46.42 kB / 293.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003594/0.005339, allocations: 97.5 kB / 293.7 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.005632, allocations: 83.59 kB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.005851, allocations: 111.6 kB / 293.9 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.005977, allocations: 4.75 kB / 293.9 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.00618, allocations: 83.73 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.006311, allocations: 23.92 kB / 294 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.006332, allocations: 4 kB / 294 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.006485, allocations: 47.91 kB / 294 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.625e-05/0.006552, allocations: 19.92 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.006602, allocations: 15.94 kB / 294 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.006857, allocations: 99.61 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.205e-05/0.006889, allocations: 7.938 kB / 294.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.006892, allocations: 0 / 294.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.006919, allocations: 0 / 294.2 MB, free: 4.746 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.0006353/0.007554, allocations: 336.5 kB / 294.5 MB, free: 4.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.007595, allocations: 8.031 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.007637, allocations: 8.938 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.007863, allocations: 154 kB / 294.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.007886, allocations: 4.375 kB / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.007905, allocations: 384 / 294.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.00806, allocations: 65.77 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.008075, allocations: 7.938 kB / 294.7 MB, free: 4.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.008083, allocations: 3.938 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.008089, allocations: 0 / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.008123, allocations: 15.92 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.008422, allocations: 169.9 kB / 294.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.008549, allocations: 85.28 kB / 295 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.008576, allocations: 16.84 kB / 295 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.008592, allocations: 0 / 295 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.008739, allocations: 74.08 kB / 295.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.00874, allocations: 4 kB / 295.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003963/0.009136, allocations: 105.8 kB / 295.2 MB, free: 3.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.009178, allocations: 51.41 kB / 295.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.009315, allocations: 180.8 kB / 295.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.009338, allocations: 33.7 kB / 295.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.009378, allocations: 92.11 kB / 295.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.009414, allocations: 31.72 kB / 295.6 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.009455, allocations: 21.72 kB / 295.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.009563, allocations: 326.8 kB / 295.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.009587, allocations: 11 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.009625, allocations: 29.72 kB / 296 MB, free: 2.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/0.009679, allocations: 48.44 kB / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.009681, allocations: 0 / 296 MB, free: 2.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.511e-05/0.009776, allocations: 72.38 kB / 296.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.009795, allocations: 8 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.009802, allocations: 0 / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.009815, allocations: 0 / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.009915, allocations: 16 kB / 296.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.00992, allocations: 3.984 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.009954, allocations: 8.031 kB / 296.1 MB, free: 2.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.009962, allocations: 4 kB / 296.1 MB, free: 2.609 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 8.297e-05/0.01004, allocations: 112.7 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.01006, allocations: 15.92 kB / 296.2 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.0102, allocations: 75.08 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01021, allocations: 0 / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.01021, allocations: 0 / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01021, allocations: 3.984 kB / 296.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.0105, allocations: 299.6 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.0105, allocations: 4.031 kB / 296.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.01054, allocations: 12 kB / 296.6 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.01056, allocations: 15.84 kB / 296.6 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01056, allocations: 3.984 kB / 296.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.01057, allocations: 0 / 296.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.01057, allocations: 7.938 kB / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01058, allocations: 0 / 296.6 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.01071, allocations: 219 kB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.01073, allocations: 4 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.052e-05/0.01078, allocations: 3.984 kB / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.895e-05/0.01082, allocations: 15.94 kB / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.01084, allocations: 3.984 kB / 296.9 MB, free: 1.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.862e-05/0.01089, allocations: 51.66 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01089, allocations: 0 / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.01105, allocations: 27.92 kB / 297 MB, free: 1.684 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.001796/0.01284, allocations: 0.6329 MB / 297.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.01298, allocations: 48.7 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.01299, allocations: 4 kB / 297.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.01302, allocations: 24.78 kB / 297.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01325, allocations: 47.98 kB / 297.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.01391, allocations: 235.8 kB / 298 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.035e-05/0.01397, allocations: 71.33 kB / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.679e-05/0.01401, allocations: 13.28 kB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.01409, allocations: 67.36 kB / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01409, allocations: 0 / 298.1 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of Templates: time 0.004246/0.01834, allocations: 2.046 MB / 300.1 MB, free: 14.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.297696308232844]