Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.0009487/0.0009487, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.00225, 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.0007822/0.0007822, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001005/0.001787, 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.077/1.077, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1188/1.196, allocations: 53.64 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.3377/0.3377, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02997/0.3677, allocations: 12.53 MB / 289.3 MB, free: 8.668 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.57e-05, allocations: 3.438 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.004196/0.004222, allocations: 1.805 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.006324, allocations: 1.025 MB / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.006452, allocations: 0 / 293.5 MB, free: 5.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.006782, allocations: 41.25 kB / 293.6 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.007187, allocations: 94.72 kB / 293.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.007509, allocations: 79.59 kB / 293.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.007754, allocations: 103.7 kB / 293.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.007866, allocations: 16.72 kB / 293.9 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.008074, allocations: 75.77 kB / 293.9 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.00819, allocations: 35.89 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.008212, allocations: 4 kB / 294 MB, free: 4.926 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.008347, allocations: 43.92 kB / 294 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.00841, allocations: 15.94 kB / 294 MB, free: 4.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.008467, allocations: 15.94 kB / 294 MB, free: 4.852 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.008728, allocations: 95.61 kB / 294.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.145e-05/0.008749, allocations: 3.938 kB / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.00875, allocations: 0 / 294.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.008768, allocations: 0 / 294.1 MB, free: 4.754 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.0006138/0.009381, allocations: 336.5 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.009432, allocations: 16.03 kB / 294.5 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.009484, allocations: 8.922 kB / 294.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.009702, allocations: 150.3 kB / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.009722, allocations: 384 / 294.6 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.009742, allocations: 4.375 kB / 294.6 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.009907, allocations: 61.77 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.009919, allocations: 3.938 kB / 294.7 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.009928, allocations: 3.938 kB / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.009934, allocations: 0 / 294.7 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.491e-05/0.009968, allocations: 11.98 kB / 294.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.01028, allocations: 169.9 kB / 294.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.01043, allocations: 85.36 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.922e-05/0.01046, allocations: 8.859 kB / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.01048, allocations: 0 / 295 MB, free: 3.824 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.01063, allocations: 78.02 kB / 295.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 4.098e-06/0.01064, allocations: 3.984 kB / 295.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004779/0.01111, allocations: 113.7 kB / 295.2 MB, free: 3.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.01115, allocations: 51.41 kB / 295.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.01132, allocations: 188.8 kB / 295.4 MB, free: 3.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.01134, allocations: 29.7 kB / 295.4 MB, free: 3.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.01139, allocations: 88.12 kB / 295.5 MB, free: 3.227 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.01143, allocations: 27.83 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.01148, allocations: 21.72 kB / 295.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.0116, allocations: 326.8 kB / 295.9 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.808e-05/0.01162, allocations: 10.81 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-05/0.01166, allocations: 21.84 kB / 295.9 MB, free: 2.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.832e-05/0.01173, allocations: 48.44 kB / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01173, allocations: 0 / 296 MB, free: 2.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000117/0.01185, allocations: 76.38 kB / 296 MB, free: 2.668 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.01186, allocations: 8 kB / 296 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01187, allocations: 0 / 296 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.01188, allocations: 0 / 296 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.01198, allocations: 20 kB / 296.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.01199, allocations: 3.984 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.01204, allocations: 4 kB / 296.1 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01204, allocations: 0 / 296.1 MB, free: 2.633 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 9.593e-05/0.01214, allocations: 120.6 kB / 296.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.01216, allocations: 15.95 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.01232, allocations: 79.23 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01233, allocations: 0 / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01233, allocations: 0 / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.01233, allocations: 3.984 kB / 296.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.01269, allocations: 299.4 kB / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01269, allocations: 0 / 296.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.346e-05/0.01275, allocations: 12 kB / 296.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.01277, allocations: 7.953 kB / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.01277, allocations: 0 / 296.6 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01279, allocations: 12.02 kB / 296.6 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.01279, allocations: 3.938 kB / 296.6 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.01279, allocations: 4 kB / 296.6 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.01298, allocations: 215 kB / 296.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.01301, allocations: 4 kB / 296.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.042e-05/0.01309, allocations: 4 kB / 296.8 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.01313, allocations: 11.92 kB / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.01315, allocations: 0 / 296.9 MB, free: 1.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.01322, allocations: 55.62 kB / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01322, allocations: 0 / 296.9 MB, free: 1.734 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002747/0.0135, allocations: 23.98 kB / 296.9 MB, free: 1.711 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.00232/0.01582, allocations: 0.6387 MB / 297.6 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.01596, allocations: 44.72 kB / 297.6 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/0.01598, allocations: 4 kB / 297.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.01602, allocations: 24.78 kB / 297.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.01637, allocations: 43.88 kB / 297.7 MB, free: 1.316 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.0172, allocations: 227.7 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.909e-05/0.01726, allocations: 63.34 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.01732, allocations: 17.27 kB / 298 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.619e-05/0.01741, allocations: 75.48 kB / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01741, allocations: 0 / 298.1 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of Templates: time 0.005931/0.02334, allocations: 2.038 MB / 300.1 MB, free: 14.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.4161199368536472]