Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007776/0.0007776, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.00188, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006312/0.0006312, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.001548, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8438/0.8438, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1682/1.012, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.315e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001636/0.001649, allocations: 1.558 MB / 241.3 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.002873, allocations: 0.872 MB / 242.2 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.002919, allocations: 0 / 242.2 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.276e-05/0.002992, allocations: 7.875 kB / 242.2 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.003043, allocations: 23.8 kB / 242.2 MB, free: 3.902 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000152/0.003195, allocations: 57.28 kB / 242.3 MB, free: 3.848 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.003347, allocations: 127.7 kB / 242.4 MB, free: 3.723 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.989e-05/0.003417, allocations: 20.2 kB / 242.4 MB, free: 3.699 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00041/0.003827, allocations: 0.5459 MB / 243 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.003934, allocations: 64.44 kB / 243 MB, free: 3.09 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.179e-05/0.003966, allocations: 12 kB / 243 MB, free: 3.078 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.306e-05/0.003989, allocations: 8.594 kB / 243 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.004058, allocations: 68.25 kB / 243.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.004117, allocations: 43.81 kB / 243.1 MB, free: 2.961 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.004325, allocations: 268.7 kB / 243.4 MB, free: 2.699 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.004335, allocations: 0 / 243.4 MB, free: 2.699 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004335, allocations: 0 / 243.4 MB, free: 2.699 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.004346, allocations: 4 kB / 243.4 MB, free: 2.695 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005283/0.004874, allocations: 0.6663 MB / 244.1 MB, free: 1.98 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.004905, allocations: 8.031 kB / 244.1 MB, free: 1.973 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.004958, allocations: 24.92 kB / 244.1 MB, free: 1.949 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/0.005658, allocations: 217.1 kB / 244.3 MB, free: 1.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.005676, allocations: 4.375 kB / 244.3 MB, free: 1.707 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.005697, allocations: 8.375 kB / 244.3 MB, free: 1.699 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.005946, allocations: 238.6 kB / 244.6 MB, free: 1.434 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.005954, allocations: 192 / 244.6 MB, free: 1.434 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.005968, allocations: 5.125 kB / 244.6 MB, free: 1.43 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005974, allocations: 3.938 kB / 244.6 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.006063, allocations: 155.5 kB / 244.7 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.006317, allocations: 216.9 kB / 244.9 MB, free: 1.023 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.006431, allocations: 174 kB / 245.1 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.006514, allocations: 162.2 kB / 245.3 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-06/0.006518, allocations: 0 / 245.3 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.006702, allocations: 321 kB / 245.6 MB, free: 284 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 8.52e-07/0.006703, allocations: 0 / 245.6 MB, free: 284 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.000366/0.007069, allocations: 0.5295 MB / 246.1 MB, free: 15.67 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.007138, allocations: 182.1 kB / 246.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.007412, allocations: 360.6 kB / 246.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.007436, allocations: 33.7 kB / 246.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.007475, allocations: 93.11 kB / 246.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.007507, allocations: 31.73 kB / 246.8 MB, free: 14.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.92e-05/0.007576, allocations: 74.34 kB / 246.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.007655, allocations: 322.8 kB / 247.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.007739, allocations: 155.8 kB / 247.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.007827, allocations: 164.5 kB / 247.5 MB, free: 14.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.00799, allocations: 330.2 kB / 247.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007992, allocations: 3.938 kB / 247.8 MB, free: 13.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001982/0.00819, allocations: 359.2 kB / 248.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.008256, allocations: 130.7 kB / 248.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.00826, allocations: 0 / 248.3 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.008271, allocations: 4 kB / 248.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.561e-05/0.008286, allocations: 4.953 kB / 248.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.00829, allocations: 3.938 kB / 248.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.61e-05/0.008366, allocations: 11.95 kB / 248.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.008406, allocations: 48.91 kB / 248.4 MB, free: 13.15 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0002083/0.008614, allocations: 343.2 kB / 248.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.008648, allocations: 35.91 kB / 248.7 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.00872, allocations: 55.08 kB / 248.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.008724, allocations: 7.984 kB / 248.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008725, allocations: 0 / 248.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.008728, allocations: 0.6562 kB / 248.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.009115, allocations: 0.6017 MB / 249.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.009118, allocations: 4.859 kB / 249.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-06/0.009124, allocations: 5.969 kB / 249.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.009281, allocations: 131.5 kB / 249.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.009283, allocations: 4 kB / 249.6 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.009297, allocations: 7.984 kB / 249.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.009299, allocations: 0 / 249.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0093, allocations: 0 / 249.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.009568, allocations: 0.5052 MB / 250.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.009598, allocations: 8.812 kB / 250.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.009671, allocations: 8 kB / 250.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.635e-05/0.009737, allocations: 29.56 kB / 250.1 MB, free: 11.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.009775, allocations: 55.92 kB / 250.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.00993, allocations: 156.6 kB / 250.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.00993, allocations: 4 kB / 250.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.01008, allocations: 44.03 kB / 250.4 MB, free: 11 MB / 250.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 9.243e-05/0.01017, allocations: 92.17 kB / 250.5 MB, free: 10.9 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.01048, allocations: 0.5664 MB / 251 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.371e-06/0.01049, allocations: 4 kB / 251 MB, free: 10.23 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.01067, allocations: 412.1 kB / 251.4 MB, free: 9.746 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.01103, allocations: 351.1 kB / 251.8 MB, free: 9.355 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008772/0.01191, allocations: 0.7571 MB / 252.5 MB, free: 8.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.449e-05/0.01197, allocations: 95.28 kB / 252.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.024e-05/0.01201, allocations: 8.703 kB / 252.6 MB, free: 8.422 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.01228, allocations: 175.2 kB / 252.8 MB, free: 8.25 MB / 250.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01228, allocations: 3.938 kB / 252.8 MB, free: 8.246 MB / 250.7 MB Notification: Performance of Templates: time 0.005391/0.01767, allocations: 4.652 MB / 257.5 MB, free: 3.582 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3897337773814797]