Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001184/0.001184, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00174/0.002924, 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.001148/0.001148, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.00243, 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.037/1.037, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09646/1.134, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.303/0.303, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02907/0.3321, 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.CombiTable1Dv.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 290.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.622e-05, allocations: 3.438 kB / 290.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.00291/0.002936, allocations: 1.698 MB / 292.3 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.003876, allocations: 0.5686 MB / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.003936, allocations: 1.406 kB / 292.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002493/0.004185, allocations: 141.1 kB / 293 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002347/0.00442, allocations: 137.4 kB / 293.2 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.004727, allocations: 118.4 kB / 293.3 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.004896, allocations: 92.38 kB / 293.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.004976, allocations: 23.95 kB / 293.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.005085, allocations: 71.88 kB / 293.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.005197, allocations: 67.86 kB / 293.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.005211, allocations: 4 kB / 293.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.503e-05/0.005306, allocations: 43.92 kB / 293.6 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.005346, allocations: 27.92 kB / 293.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.005372, allocations: 19.88 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.00552, allocations: 107.5 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.611e-05/0.005537, allocations: 0 / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005538, allocations: 0 / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.005552, allocations: 0 / 293.7 MB, free: 5.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003508/0.005902, allocations: 352.4 kB / 294.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.00593, allocations: 8.031 kB / 294.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.005952, allocations: 4.938 kB / 294.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.006082, allocations: 157.4 kB / 294.2 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.006094, allocations: 4.375 kB / 294.2 MB, free: 4.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.006111, allocations: 4.375 kB / 294.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.006194, allocations: 58.94 kB / 294.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.006202, allocations: 192 / 294.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.00621, allocations: 8.125 kB / 294.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.006214, allocations: 0 / 294.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.00624, allocations: 15.98 kB / 294.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.00646, allocations: 183 kB / 294.5 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.736e-05/0.006508, allocations: 29.47 kB / 294.5 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/0.006523, allocations: 12.94 kB / 294.5 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.006538, allocations: 0 / 294.5 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.00656, allocations: 38.5 kB / 294.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.006561, allocations: 4 kB / 294.6 MB, free: 4.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004148/0.006975, allocations: 145.3 kB / 294.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.007013, allocations: 51.41 kB / 294.8 MB, free: 4 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.007171, allocations: 210.9 kB / 295 MB, free: 3.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.007184, allocations: 29.7 kB / 295 MB, free: 3.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.233e-05/0.007226, allocations: 100.1 kB / 295.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.007253, allocations: 27.73 kB / 295.1 MB, free: 3.613 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.007283, allocations: 17.72 kB / 295.2 MB, free: 3.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.007399, allocations: 334.8 kB / 295.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.007413, allocations: 4 kB / 295.5 MB, free: 3.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.321e-05/0.007426, allocations: 8.078 kB / 295.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.007462, allocations: 39.78 kB / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.007463, allocations: 0 / 295.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.926e-05/0.007522, allocations: 61.98 kB / 295.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.007535, allocations: 8 kB / 295.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.007538, allocations: 0 / 295.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/0.007544, allocations: 0 / 295.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.007604, allocations: 19.98 kB / 295.6 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.007608, allocations: 8 kB / 295.6 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.007629, allocations: 3.984 kB / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.007632, allocations: 0 / 295.6 MB, free: 3.094 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 (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 6.22e-05/0.007695, allocations: 116.7 kB / 295.7 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.952e-05/0.007714, allocations: 19.91 kB / 295.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.007815, allocations: 75.06 kB / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.007816, allocations: 0 / 295.8 MB, free: 2.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.007821, allocations: 4 kB / 295.8 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.007825, allocations: 3.984 kB / 295.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.008075, allocations: 259.5 kB / 296.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.008078, allocations: 0 / 296.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.00812, allocations: 19.98 kB / 296.1 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.008132, allocations: 11.91 kB / 296.1 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.008136, allocations: 4 kB / 296.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.008141, allocations: 3.938 kB / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.008142, allocations: 0 / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008143, allocations: 0 / 296.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.008251, allocations: 164.3 kB / 296.3 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.008266, allocations: 7.984 kB / 296.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.268e-05/0.008299, allocations: 4 kB / 296.3 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.008322, allocations: 8.016 kB / 296.3 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.008326, allocations: 4 kB / 296.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.091e-05/0.008387, allocations: 76.88 kB / 296.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008387, allocations: 0 / 296.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.008532, allocations: 19.94 kB / 296.4 MB, free: 2.242 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: 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.00152/0.01005, allocations: 0.6302 MB / 297.1 MB, free: 1.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.802e-05/0.01014, allocations: 36.72 kB / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.01015, allocations: 0 / 297.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.985e-05/0.01018, allocations: 32.77 kB / 297.1 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.01033, allocations: 34.8 kB / 297.2 MB, free: 1.867 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.01083, allocations: 265 kB / 297.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.01087, allocations: 75.31 kB / 297.5 MB, free: 1.484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.01091, allocations: 13.03 kB / 297.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.01096, allocations: 63.36 kB / 297.6 MB, free: 1.406 MB / 282.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01096, allocations: 4 kB / 297.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of Templates: time 0.002926/0.01388, allocations: 1.552 MB / 299.1 MB, free: 15.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.0819676434621215]