Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.0009998/0.0009998, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009693/0.0009693, allocations: 167.6 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.9994/0.9994, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.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.1626/0.1626, allocations: 32.79 MB / 295.4 MB, free: 15.4 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.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.434e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002387/0.002412, allocations: 1.646 MB / 378.9 MB, free: 23.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.003224, allocations: 0.5414 MB / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.003309, allocations: 0 / 379.5 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.00361, allocations: 79.64 kB / 379.5 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.00396, allocations: 103.5 kB / 379.6 MB, free: 23.21 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.004286, allocations: 111.7 kB / 379.8 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.004473, allocations: 95.69 kB / 379.8 MB, free: 23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004589, allocations: 11.98 kB / 379.9 MB, free: 22.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.98e-05/0.004669, allocations: 39.91 kB / 379.9 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.004792, allocations: 55.86 kB / 380 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.004809, allocations: 4 kB / 380 MB, free: 22.89 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.004912, allocations: 47.91 kB / 380 MB, free: 22.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.799e-05/0.00497, allocations: 19.92 kB / 380 MB, free: 22.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.005002, allocations: 15.94 kB / 380 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.005195, allocations: 87.66 kB / 380.1 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005197, allocations: 11.94 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005199, allocations: 3.938 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.005206, allocations: 0 / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004796/0.005686, allocations: 439.9 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.005734, allocations: 11.98 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.005783, allocations: 20.84 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.005931, allocations: 141.1 kB / 380.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.005944, allocations: 4.375 kB / 380.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.005965, allocations: 4.375 kB / 380.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.006087, allocations: 54.95 kB / 380.8 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.006101, allocations: 4.125 kB / 380.8 MB, free: 21.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.006113, allocations: 12.12 kB / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.006121, allocations: 0 / 380.8 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.006151, allocations: 7.984 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.006472, allocations: 268.4 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.244e-05/0.006545, allocations: 42.98 kB / 381.1 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.006564, allocations: 7.688 kB / 381.1 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.006593, allocations: 8.078 kB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.006615, allocations: 41.33 kB / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.006617, allocations: 0 / 381.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005837/0.0072, allocations: 161.4 kB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.007229, allocations: 51.41 kB / 381.4 MB, free: 21.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.007333, allocations: 234.8 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.007341, allocations: 29.7 kB / 381.7 MB, free: 21.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.007385, allocations: 158.8 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.626e-05/0.007411, allocations: 31.73 kB / 381.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.007444, allocations: 27.36 kB / 381.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.007507, allocations: 0.4962 MB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.007523, allocations: 7.984 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.007547, allocations: 20 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.047e-05/0.007587, allocations: 31.66 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.007589, allocations: 3.938 kB / 382.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.217e-05/0.007671, allocations: 69.64 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.007685, allocations: 8 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.007693, allocations: 0 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.007705, allocations: 0 / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.007774, allocations: 19.92 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.007777, allocations: 0 / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.007799, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.007805, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 5.49e-05/0.00786, allocations: 164.5 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.007884, allocations: 15.91 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.008007, allocations: 83.11 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.00801, allocations: 4 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.008012, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.008017, allocations: 4 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.008257, allocations: 337.6 kB / 383.1 MB, free: 19.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.008261, allocations: 7.984 kB / 383.1 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.008301, allocations: 19.97 kB / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.008303, allocations: 0 / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.008308, allocations: 0 / 383.1 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.008311, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.008312, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.008416, allocations: 243.8 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.008426, allocations: 11.84 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.008438, allocations: 4 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.008476, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.0085, allocations: 15.92 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.008507, allocations: 4 kB / 383.4 MB, free: 19.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.811e-05/0.008555, allocations: 167.1 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008555, allocations: 0 / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.008728, allocations: 19.92 kB / 383.6 MB, free: 18.96 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0009624/0.00969, allocations: 439.7 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.009801, allocations: 39.59 kB / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.009803, allocations: 0 / 384.1 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.00983, allocations: 27.67 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.01006, allocations: 22.89 kB / 384.1 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.01038, allocations: 235.7 kB / 384.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.617e-05/0.01042, allocations: 79.19 kB / 384.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.767e-05/0.01045, allocations: 21.02 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.0105, allocations: 78.2 kB / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.0105, allocations: 0 / 384.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of Templates: time 0.003239/0.01374, allocations: 1.554 MB / 386.1 MB, free: 16.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.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.171311693266034]