Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.001411/0.001411, allocations: 76.31 kB / 22.21 MB, free: 2.281 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.001045/0.001045, allocations: 171.2 kB / 25.61 MB, free: 8.891 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.9814/0.9814, allocations: 177.1 MB / 206 MB, free: 4.465 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.1337/0.1337, allocations: 32.8 MB / 295.4 MB, free: 15.35 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 3.938 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.38e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00319/0.003214, allocations: 1.637 MB / 378.9 MB, free: 23.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.004174, allocations: 0.5142 MB / 379.4 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/0.004244, allocations: 3.938 kB / 379.4 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.00447, allocations: 23.84 kB / 379.5 MB, free: 23.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.004794, allocations: 87.55 kB / 379.5 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.005117, allocations: 91.64 kB / 379.6 MB, free: 23.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.005301, allocations: 67.77 kB / 379.7 MB, free: 23.13 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.005417, allocations: 11.86 kB / 379.7 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.005495, allocations: 35.89 kB / 379.7 MB, free: 23.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.005569, allocations: 11.94 kB / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.005586, allocations: 0 / 379.8 MB, free: 23.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.005686, allocations: 35.98 kB / 379.8 MB, free: 23.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.005741, allocations: 15.91 kB / 379.8 MB, free: 23.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.00577, allocations: 11.94 kB / 379.8 MB, free: 23.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.00597, allocations: 71.69 kB / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005972, allocations: 4 kB / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005973, allocations: 0 / 379.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.005978, allocations: 0 / 379.9 MB, free: 22.94 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004067/0.006385, allocations: 420.1 kB / 380.3 MB, free: 22.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.006427, allocations: 11.98 kB / 380.3 MB, free: 22.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.00647, allocations: 8.891 kB / 380.3 MB, free: 22.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.006633, allocations: 139.4 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.006648, allocations: 384 / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.006669, allocations: 8.375 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.006796, allocations: 54.94 kB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.00681, allocations: 4.125 kB / 380.5 MB, free: 22.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.006819, allocations: 12.06 kB / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.006826, allocations: 0 / 380.5 MB, free: 22.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.928e-05/0.006855, allocations: 8 kB / 380.5 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.007111, allocations: 252.4 kB / 380.8 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.00727, allocations: 39 kB / 380.8 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.945e-05/0.00729, allocations: 15.77 kB / 380.8 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.007306, allocations: 0 / 380.8 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.007327, allocations: 37.33 kB / 380.9 MB, free: 21.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.007328, allocations: 0 / 380.9 MB, free: 21.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003454/0.007673, allocations: 93.5 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.007703, allocations: 55.41 kB / 381 MB, free: 21.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.007815, allocations: 209 kB / 381.2 MB, free: 21.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.007823, allocations: 25.7 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.007871, allocations: 150.8 kB / 381.4 MB, free: 21.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/0.007897, allocations: 11.91 kB / 381.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.007932, allocations: 19.38 kB / 381.4 MB, free: 21.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.008007, allocations: 0.4923 MB / 381.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.008025, allocations: 4 kB / 381.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.842e-05/0.008043, allocations: 8 kB / 381.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.008086, allocations: 19.86 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.008089, allocations: 7.938 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001007/0.00819, allocations: 69.53 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.008205, allocations: 4 kB / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.008211, allocations: 0 / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.008224, allocations: 0 / 382 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.008295, allocations: 16 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008299, allocations: 0 / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.008329, allocations: 3.984 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.008338, allocations: 4 kB / 382.1 MB, free: 20.57 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 (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 7.102e-05/0.008409, allocations: 164.5 kB / 382.2 MB, free: 20.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.00844, allocations: 7.953 kB / 382.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.008581, allocations: 70.08 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.008583, allocations: 0 / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.008585, allocations: 0 / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.008589, allocations: 0 / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.008863, allocations: 298 kB / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.008865, allocations: 0 / 382.6 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.596e-05/0.008921, allocations: 11.94 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.008924, allocations: 0 / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008932, allocations: 8 kB / 382.6 MB, free: 19.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.008935, allocations: 7.984 kB / 382.6 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.008936, allocations: 0 / 382.6 MB, free: 19.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.009046, allocations: 208 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.009057, allocations: 7.953 kB / 382.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.00907, allocations: 8.062 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.009129, allocations: 0 / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.009156, allocations: 7.984 kB / 382.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.009161, allocations: 4 kB / 382.8 MB, free: 19.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.977e-05/0.009211, allocations: 139.2 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.009211, allocations: 0 / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.009452, allocations: 23.92 kB / 383 MB, free: 19.56 MB / 314.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.001031/0.01048, allocations: 390.5 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001258/0.01061, allocations: 23.69 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01061, allocations: 4 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.359e-05/0.01063, allocations: 19.67 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.0109, allocations: 25.91 kB / 383.5 MB, free: 19.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.01122, allocations: 176.4 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.01126, allocations: 63.2 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.019e-05/0.0113, allocations: 11.98 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.652e-05/0.01136, allocations: 78.2 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01136, allocations: 4 kB / 383.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of Templates: time 0.003119/0.01448, allocations: 1.272 MB / 385.1 MB, free: 17.61 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.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.1241837767884135]