Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009561/0.0009561, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001043/0.001043, allocations: 166.4 kB / 24.82 MB, free: 9.27 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.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3371/0.3371, allocations: 34.27 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.496e-06/3.496e-06, allocations: 3.984 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.349e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.00273/0.002763, allocations: 1.625 MB / 380.1 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008/0.003563, allocations: 0.5258 MB / 380.7 MB, free: 220 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.003629, allocations: 0 / 380.7 MB, free: 220 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.003847, allocations: 27.77 kB / 380.7 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.004121, allocations: 83.56 kB / 380.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.004358, allocations: 91.64 kB / 380.9 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.004509, allocations: 63.95 kB / 380.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.004602, allocations: 11.98 kB / 380.9 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.856e-05/0.004661, allocations: 31.91 kB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.004711, allocations: 11.94 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.004724, allocations: 0 / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.059e-05/0.004795, allocations: 43.91 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.004837, allocations: 15.92 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.00486, allocations: 7.938 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.004993, allocations: 75.67 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.614e-06/0.004994, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004995, allocations: 4 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004999, allocations: 0 / 381.1 MB, free: 15.75 MB / 362.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.0003407/0.005339, allocations: 416.2 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.005375, allocations: 8.031 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.005403, allocations: 8.891 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.005514, allocations: 147 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.00552, allocations: 384 / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.005537, allocations: 8.312 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.95e-05/0.005627, allocations: 62.94 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.005634, allocations: 192 / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.005641, allocations: 12.11 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.005645, allocations: 0 / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.005663, allocations: 4 kB / 381.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002185/0.005882, allocations: 248.5 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.005998, allocations: 39 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.006013, allocations: 15.77 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.00603, allocations: 0 / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.00605, allocations: 41.33 kB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.006051, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002594/0.00631, allocations: 89.45 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.006335, allocations: 59.41 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.006439, allocations: 204.8 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.006451, allocations: 29.7 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.699e-05/0.006508, allocations: 146.8 kB / 382.6 MB, free: 14.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.006526, allocations: 11.86 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.006555, allocations: 23.38 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.006678, allocations: 0.4962 MB / 383.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/0.006689, allocations: 4 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.0067, allocations: 4 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.025e-05/0.00673, allocations: 27.61 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.006734, allocations: 7.938 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.879e-05/0.006792, allocations: 53.66 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006804, allocations: 7.984 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.006808, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.006815, allocations: 4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.764e-05/0.006853, allocations: 8 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006856, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.006871, allocations: 4 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.006876, allocations: 4.234 kB / 383.3 MB, free: 13.39 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 6.358e-05/0.00694, allocations: 160.5 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.006957, allocations: 19.89 kB / 383.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.985e-05/0.007046, allocations: 74.12 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007048, allocations: 0 / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.00705, allocations: 0 / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.007053, allocations: 0 / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.007273, allocations: 305.9 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.007275, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.007299, allocations: 8 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007301, allocations: 0 / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.007305, allocations: 4 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.007307, allocations: 3.984 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007309, allocations: 4 kB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.899e-05/0.007408, allocations: 203.8 kB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.007415, allocations: 11.89 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-06/0.007424, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.86e-05/0.007453, allocations: 4 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.342e-05/0.007476, allocations: 7.984 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.007479, allocations: 0 / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.074e-05/0.00753, allocations: 150.3 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00753, allocations: 0 / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.007673, allocations: 15.98 kB / 384.2 MB, free: 12.38 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.000785/0.008458, allocations: 380.5 kB / 384.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.264e-05/0.008521, allocations: 27.67 kB / 384.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008522, allocations: 4 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.257e-05/0.008545, allocations: 31.72 kB / 384.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.00874, allocations: 19.94 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.009017, allocations: 178.6 kB / 384.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.093e-05/0.009058, allocations: 59.34 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.716e-05/0.009085, allocations: 11.98 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.009138, allocations: 74.2 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009139, allocations: 7.938 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of Templates: time 0.002724/0.01186, allocations: 1.279 MB / 386.3 MB, free: 10.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.233574032317847]