Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001213/0.001213, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002036/0.003249, 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 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.001251/0.001251, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001612/0.002863, 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.198/1.198, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1416/1.34, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.388/0.388, allocations: 32.8 MB / 276.8 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03885/0.4269, 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.398e-05/3.619e-05, allocations: 4.516 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003841/0.003877, allocations: 1.808 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.005774, allocations: 1.015 MB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.005912, allocations: 3.156 kB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.006228, allocations: 47.58 kB / 293.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.006622, allocations: 93.94 kB / 293.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.006975, allocations: 83.59 kB / 293.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.007214, allocations: 107.6 kB / 293.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.007345, allocations: 4.75 kB / 293.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.007532, allocations: 87.73 kB / 293.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.007635, allocations: 23.92 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.00766, allocations: 4 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.0078, allocations: 43.92 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.007872, allocations: 19.92 kB / 294 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.007923, allocations: 15.94 kB / 294 MB, free: 4.848 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.008171, allocations: 107.6 kB / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-05/0.0082, allocations: 0 / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.008202, allocations: 0 / 294.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.008229, allocations: 0 / 294.2 MB, free: 4.742 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.0006264/0.008855, allocations: 340.5 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.0089, allocations: 12.03 kB / 294.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.008945, allocations: 4.938 kB / 294.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.009172, allocations: 158 kB / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.009194, allocations: 384 / 294.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.009248, allocations: 4.375 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.009417, allocations: 65.77 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.009432, allocations: 7.922 kB / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.00944, allocations: 0 / 294.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.009446, allocations: 4 kB / 294.7 MB, free: 4.102 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.009481, allocations: 11.92 kB / 294.7 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.009796, allocations: 169.8 kB / 294.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.009932, allocations: 89.3 kB / 295 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.009958, allocations: 12.84 kB / 295 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.009978, allocations: 4 kB / 295 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.01014, allocations: 74.08 kB / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.01014, allocations: 0 / 295.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004371/0.01058, allocations: 105.9 kB / 295.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.01064, allocations: 55.41 kB / 295.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.01078, allocations: 180.8 kB / 295.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.0108, allocations: 25.7 kB / 295.4 MB, free: 3.305 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.01084, allocations: 96.11 kB / 295.5 MB, free: 3.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.01088, allocations: 35.72 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.01092, allocations: 17.72 kB / 295.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.01104, allocations: 326.8 kB / 295.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.01108, allocations: 18.88 kB / 295.9 MB, free: 2.801 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.0111, allocations: 21.72 kB / 296 MB, free: 2.773 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/0.01116, allocations: 48.44 kB / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01116, allocations: 0 / 296 MB, free: 2.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.616e-05/0.01126, allocations: 72.44 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01127, allocations: 4 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.01128, allocations: 0 / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01129, allocations: 4 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.01139, allocations: 15.94 kB / 296.1 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.0114, allocations: 8.031 kB / 296.1 MB, free: 2.609 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.01144, allocations: 3.984 kB / 296.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.01145, allocations: 4 kB / 296.1 MB, free: 2.602 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.97e-05/0.01154, allocations: 112.7 kB / 296.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.01155, allocations: 15.92 kB / 296.2 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.01168, allocations: 75.08 kB / 296.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01168, allocations: 4 kB / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.01168, allocations: 0 / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01169, allocations: 0 / 296.3 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.012, allocations: 303.5 kB / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.012, allocations: 0 / 296.6 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.01205, allocations: 12 kB / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.01208, allocations: 11.91 kB / 296.6 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.01208, allocations: 4 kB / 296.6 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.0121, allocations: 7.922 kB / 296.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.0121, allocations: 0 / 296.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.0121, allocations: 0 / 296.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.01223, allocations: 223 kB / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.01225, allocations: 4 kB / 296.9 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.811e-05/0.0123, allocations: 12.02 kB / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.01232, allocations: 0 / 296.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.01234, allocations: 7.984 kB / 296.9 MB, free: 1.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.215e-05/0.01239, allocations: 47.66 kB / 296.9 MB, free: 1.711 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01239, allocations: 3.938 kB / 296.9 MB, free: 1.707 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.01256, allocations: 31.92 kB / 297 MB, free: 1.676 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.001699/0.01426, allocations: 0.6358 MB / 297.6 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.01441, allocations: 44.72 kB / 297.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/0.01443, allocations: 3.984 kB / 297.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.45e-05/0.01447, allocations: 28.84 kB / 297.7 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.01472, allocations: 45.36 kB / 297.7 MB, free: 1.277 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.01535, allocations: 243.7 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.01541, allocations: 71.33 kB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.479e-05/0.01547, allocations: 13.28 kB / 298 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.01555, allocations: 67.36 kB / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of SimCode: time 1.703e-06/0.01555, allocations: 0 / 298.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of Templates: time 0.005079/0.02063, allocations: 2.041 MB / 300.1 MB, free: 14.83 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.4795572673901916]