Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.001763/0.001763, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002061/0.002061, allocations: 212.4 kB / 23.73 MB, free: 4.16 MB / 14.72 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.703/1.703, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.2313/0.2313, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.1 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.91 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3126, allocations: 65.48 MB / 0.5575 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.003054/0.3157, allocations: 1.607 MB / 0.559 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3167, allocations: 0.5271 MB / 0.5596 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.3168, allocations: 0 / 0.5596 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.317, allocations: 87.64 kB / 0.5596 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.3173, allocations: 103.6 kB / 0.5597 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.3176, allocations: 107.1 kB / 0.5598 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3178, allocations: 83.8 kB / 0.5599 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.109e-05/0.3179, allocations: 18.61 kB / 0.5599 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.3179, allocations: 35.89 kB / 0.56 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.318, allocations: 55.77 kB / 0.56 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.318, allocations: 4 kB / 0.56 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.3181, allocations: 43.97 kB / 0.5601 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.3182, allocations: 23.92 kB / 0.5601 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.3182, allocations: 19.81 kB / 0.5601 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.3184, allocations: 107.2 kB / 0.5602 GB, free: 4.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3184, allocations: 0 / 0.5602 GB, free: 4.648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3184, allocations: 0 / 0.5602 GB, free: 4.648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3184, allocations: 0 / 0.5602 GB, free: 4.648 MB / 398.1 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.0005299/0.319, allocations: 341.6 kB / 0.5605 GB, free: 4.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.319, allocations: 16.03 kB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.3191, allocations: 12.84 kB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3193, allocations: 138.4 kB / 0.5607 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.3193, allocations: 4.359 kB / 0.5607 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.3193, allocations: 12.36 kB / 0.5607 GB, free: 4.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3195, allocations: 53.81 kB / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3195, allocations: 0 / 0.5608 GB, free: 4.023 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.3195, allocations: 4 kB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3195, allocations: 4 kB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.3196, allocations: 31.91 kB / 0.5608 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.3201, allocations: 244.4 kB / 0.561 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3202, allocations: 46.55 kB / 0.5611 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.3202, allocations: 16.86 kB / 0.5611 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3203, allocations: 0 / 0.5611 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3203, allocations: 38.5 kB / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.3203, allocations: 0 / 0.5611 GB, free: 3.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009416/0.3212, allocations: 249.3 kB / 0.5614 GB, free: 3.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.3213, allocations: 51.41 kB / 0.5614 GB, free: 3.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.3215, allocations: 199.3 kB / 0.5616 GB, free: 3.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.3215, allocations: 29.7 kB / 0.5616 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/0.3216, allocations: 104.1 kB / 0.5617 GB, free: 2.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.3216, allocations: 27.75 kB / 0.5618 GB, free: 2.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3217, allocations: 17.72 kB / 0.5618 GB, free: 2.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3218, allocations: 326.8 kB / 0.5621 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.935e-05/0.3219, allocations: 35.97 kB / 0.5621 GB, free: 2.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.322, allocations: 31.98 kB / 0.5622 GB, free: 2.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3222, allocations: 76.75 kB / 0.5622 GB, free: 2.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3222, allocations: 3.938 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000234/0.3224, allocations: 109.6 kB / 0.5623 GB, free: 2.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3224, allocations: 4 kB / 0.5623 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3224, allocations: 4 kB / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3224, allocations: 0 / 0.5624 GB, free: 2.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3225, allocations: 19.98 kB / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3225, allocations: 0 / 0.5624 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.3226, allocations: 11.98 kB / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3226, allocations: 3.938 kB / 0.5624 GB, free: 2.246 MB / 398.1 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 0.0001131/0.3227, allocations: 129.8 kB / 0.5625 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.658e-05/0.3227, allocations: 11.91 kB / 0.5625 GB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.3231, allocations: 135.3 kB / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3231, allocations: 0 / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3231, allocations: 0 / 0.5627 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3231, allocations: 8.406 kB / 0.5627 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.3236, allocations: 350.9 kB / 0.563 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3236, allocations: 0 / 0.563 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.3237, allocations: 15.98 kB / 0.563 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.3237, allocations: 4 kB / 0.563 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.3237, allocations: 4 kB / 0.563 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3237, allocations: 11.91 kB / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3237, allocations: 0 / 0.563 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.324, allocations: 224.2 kB / 0.5632 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.324, allocations: 11.95 kB / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.3241, allocations: 0 / 0.5633 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.3241, allocations: 11.92 kB / 0.5633 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3242, allocations: 4 kB / 0.5633 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3242, allocations: 3.984 kB / 0.5633 GB, free: 1.254 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3243, allocations: 153.8 kB / 0.5634 GB, free: 1.105 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3243, allocations: 4 kB / 0.5634 GB, free: 1.102 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002835/0.3246, allocations: 27.92 kB / 0.5634 GB, free: 1.074 MB / 398.1 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.001864/0.3265, allocations: 495.8 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.3267, allocations: 67.95 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3267, allocations: 0 / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3268, allocations: 43.91 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3272, allocations: 15.94 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000529/0.3277, allocations: 259.2 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.3278, allocations: 104.2 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.3279, allocations: 20.95 kB / 0.5644 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.3279, allocations: 15.44 kB / 0.5644 GB, free: 240 kB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3279, allocations: 0 / 0.5644 GB, free: 240 kB / 398.1 MB Notification: Performance of Templates: time 0.004565/0.3325, allocations: 1.437 MB / 0.5658 GB, free: 14.81 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.492142932489514]