Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.0014/0.0014, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001009/0.001009, allocations: 163.6 kB / 24.99 MB, free: 8.797 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 1.03/1.03, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.273/0.273, allocations: 32.81 MB / 294.6 MB, free: 1.27 MB / 266.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.528e-05, allocations: 6.25 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002194/0.002219, allocations: 1.642 MB / 377.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003564, allocations: 1.274 MB / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.003646, allocations: 0 / 378.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.003892, allocations: 19.86 kB / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.004225, allocations: 95.48 kB / 379 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.004513, allocations: 91.62 kB / 379.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.0047, allocations: 63.84 kB / 379.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.004828, allocations: 19.91 kB / 379.2 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.32e-05/0.004901, allocations: 27.92 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.005014, allocations: 27.89 kB / 379.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.005032, allocations: 4 kB / 379.3 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.005183, allocations: 91.83 kB / 379.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.005234, allocations: 15.92 kB / 379.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.005268, allocations: 15.98 kB / 379.4 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.005475, allocations: 131.5 kB / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005477, allocations: 0 / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005478, allocations: 0 / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005483, allocations: 0 / 379.5 MB, free: 1.441 MB / 346.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.000445/0.005928, allocations: 427.9 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.005966, allocations: 12.03 kB / 380 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.006017, allocations: 12.89 kB / 380 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.00619, allocations: 128.5 kB / 380.1 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.006202, allocations: 4.375 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.006224, allocations: 384 / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.006381, allocations: 104 kB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.006399, allocations: 12.05 kB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.006413, allocations: 4.125 kB / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-06/0.006422, allocations: 0 / 380.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.006456, allocations: 8 kB / 380.2 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.00678, allocations: 275.8 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.006958, allocations: 46.98 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.006988, allocations: 19.67 kB / 380.6 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.007013, allocations: 3.938 kB / 380.6 MB, free: 276 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.007042, allocations: 41.39 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.007043, allocations: 0 / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004298/0.007473, allocations: 101.5 kB / 380.7 MB, free: 116 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.007541, allocations: 81.11 kB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.007729, allocations: 195.9 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.007745, allocations: 25.7 kB / 381 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.00782, allocations: 142.9 kB / 381.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.007849, allocations: 23.78 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.007886, allocations: 23.38 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.008056, allocations: 0.4884 MB / 381.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.008078, allocations: 8.062 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.008125, allocations: 61.06 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.00817, allocations: 23.69 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.008171, allocations: 0 / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.523e-05/0.008266, allocations: 61.56 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.008282, allocations: 4 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.008288, allocations: 0 / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.008305, allocations: 0 / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.008356, allocations: 11.98 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.008363, allocations: 0 / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.618e-05/0.008389, allocations: 11.95 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.008395, allocations: 4.031 kB / 381.8 MB, free: 14.87 MB / 362.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 0.0001012/0.008496, allocations: 156.6 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.008519, allocations: 11.89 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.008642, allocations: 74.08 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008644, allocations: 0 / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.008648, allocations: 0 / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.008651, allocations: 3.938 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.008943, allocations: 317.4 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.008945, allocations: 320 / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.008984, allocations: 23.92 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.008986, allocations: 4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.008994, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008996, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008997, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.009127, allocations: 211.8 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.009135, allocations: 3.953 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.009148, allocations: 0 / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.009184, allocations: 7.984 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.009215, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.009218, allocations: 4 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.316e-05/0.009281, allocations: 153.5 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009282, allocations: 0 / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.009505, allocations: 39.81 kB / 382.8 MB, free: 13.8 MB / 362.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.00115/0.01065, allocations: 497 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.01077, allocations: 35.67 kB / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01078, allocations: 0 / 383.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.48e-05/0.0108, allocations: 23.61 kB / 383.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01103, allocations: 23.92 kB / 383.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.0114, allocations: 161.9 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.601e-05/0.01144, allocations: 59.36 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.299e-05/0.01148, allocations: 11.97 kB / 383.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.01152, allocations: 24.48 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01152, allocations: 0 / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of Templates: time 0.003725/0.01525, allocations: 1.828 MB / 385.5 MB, free: 11.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.4242462599650025]