Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.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.001501/0.001501, allocations: 82.64 kB / 21.44 MB, free: 3.055 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.001105/0.001105, allocations: 169.6 kB / 24.84 MB, free: 8.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.085/1.085, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1465/0.1465, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.891e-05, allocations: 6.25 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002102/0.002131, allocations: 1.59 MB / 350.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004957/0.002626, allocations: 319.4 kB / 350.8 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.002686, allocations: 4 kB / 350.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.00293, allocations: 19.84 kB / 350.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.003119, allocations: 43.72 kB / 350.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.00334, allocations: 87.81 kB / 351 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.003468, allocations: 59.77 kB / 351 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.589e-05/0.003564, allocations: 15.92 kB / 351.1 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.487e-05/0.003618, allocations: 27.92 kB / 351.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.00367, allocations: 15.92 kB / 351.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.003686, allocations: 4 kB / 351.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.469e-05/0.003751, allocations: 27.98 kB / 351.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.226e-05/0.003793, allocations: 15.92 kB / 351.1 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.003816, allocations: 4 kB / 351.1 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.003967, allocations: 67.69 kB / 351.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.003972, allocations: 0 / 351.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.003973, allocations: 0 / 351.2 MB, free: 6.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.003978, allocations: 0 / 351.2 MB, free: 6.863 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002845/0.004263, allocations: 412.1 kB / 351.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.004294, allocations: 12.03 kB / 351.6 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.004321, allocations: 8.891 kB / 351.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.561e-05/0.004407, allocations: 128.5 kB / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.004414, allocations: 384 / 351.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.004429, allocations: 4.375 kB / 351.8 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.302e-05/0.004502, allocations: 58.89 kB / 351.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.00451, allocations: 192 / 351.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.004518, allocations: 8.125 kB / 351.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.004521, allocations: 0 / 351.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.884e-05/0.00454, allocations: 7.984 kB / 351.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.004724, allocations: 256.3 kB / 352.1 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.004833, allocations: 47.05 kB / 352.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.219e-05/0.004846, allocations: 7.688 kB / 352.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.004861, allocations: 4 kB / 352.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.004875, allocations: 37.33 kB / 352.2 MB, free: 5.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.004877, allocations: 3.984 kB / 352.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003051/0.005182, allocations: 89.62 kB / 352.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.00521, allocations: 51.41 kB / 352.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.005304, allocations: 185.9 kB / 352.5 MB, free: 5.41 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-06/0.00531, allocations: 29.7 kB / 352.5 MB, free: 5.375 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.005345, allocations: 138.9 kB / 352.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.00537, allocations: 27.77 kB / 352.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.005405, allocations: 23.38 kB / 352.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.005459, allocations: 0.4884 MB / 353.2 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.005473, allocations: 3.984 kB / 353.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.098e-05/0.005483, allocations: 4 kB / 353.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.005512, allocations: 27.62 kB / 353.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.005513, allocations: 3.938 kB / 353.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.252e-05/0.005575, allocations: 57.58 kB / 353.3 MB, free: 4.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.005586, allocations: 8 kB / 353.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.00559, allocations: 0 / 353.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.625e-06/0.005598, allocations: 0 / 353.3 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.005641, allocations: 15.98 kB / 353.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.005643, allocations: 0 / 353.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.00566, allocations: 4 kB / 353.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.005664, allocations: 4 kB / 353.3 MB, free: 4.539 MB / 282.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 (5): * Single equations (assignments): 5 * 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 3.726e-05/0.005702, allocations: 152.6 kB / 353.5 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.00572, allocations: 12.14 kB / 353.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.005799, allocations: 70.08 kB / 353.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.005801, allocations: 4 kB / 353.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.005802, allocations: 4 kB / 353.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005805, allocations: 0 / 353.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.005977, allocations: 294 kB / 353.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.005979, allocations: 0 / 353.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.006009, allocations: 8 kB / 353.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.006012, allocations: 0 / 353.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.006016, allocations: 4 kB / 353.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.006017, allocations: 0 / 353.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006019, allocations: 0 / 353.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.006095, allocations: 211.8 kB / 354.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.006102, allocations: 7.953 kB / 354.1 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.006112, allocations: 7.984 kB / 354.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.934e-05/0.006141, allocations: 0 / 354.1 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-05/0.006165, allocations: 4 kB / 354.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.006169, allocations: 0 / 354.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.116e-05/0.0062, allocations: 150 kB / 354.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0062, allocations: 0 / 354.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.006357, allocations: 11.94 kB / 354.3 MB, free: 3.551 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.000849/0.007206, allocations: 394.6 kB / 354.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.626e-05/0.007272, allocations: 27.67 kB / 354.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.007274, allocations: 0 / 354.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.797e-05/0.007292, allocations: 19.62 kB / 354.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.007513, allocations: 25.17 kB / 354.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.007767, allocations: 165.9 kB / 354.9 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.317e-05/0.00779, allocations: 59.34 kB / 354.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.961e-05/0.00782, allocations: 11.98 kB / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.409e-05/0.007864, allocations: 74.2 kB / 355 MB, free: 2.816 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007865, allocations: 0 / 355 MB, free: 2.816 MB / 282.7 MB Notification: Performance of Templates: time 0.002822/0.01069, allocations: 1.256 MB / 356.3 MB, free: 1.574 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.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.2122299559414387]