Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.0008327/0.0008327, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.002017, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008351/0.0008351, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001896, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.081/1.081, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08654/1.168, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.924e-05, allocations: 6.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002194/0.002214, allocations: 1.589 MB / 246.1 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.003662, allocations: 0.905 MB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.745e-05/0.003729, allocations: 3.938 kB / 247 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.154e-05/0.003811, allocations: 11.92 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.003876, allocations: 19.88 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.004072, allocations: 51.81 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.004249, allocations: 131.7 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.004329, allocations: 12.22 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004438/0.004773, allocations: 0.5536 MB / 247.8 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.004893, allocations: 63.81 kB / 247.9 MB, free: 10.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.004929, allocations: 8 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.159e-05/0.00495, allocations: 8 kB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.005017, allocations: 63.78 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.005083, allocations: 51.73 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.005304, allocations: 267.1 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.707e-05/0.005321, allocations: 0 / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.005322, allocations: 0 / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.005338, allocations: 0 / 248.2 MB, free: 10.58 MB / 250.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.0006161/0.005954, allocations: 0.6651 MB / 248.9 MB, free: 9.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.005986, allocations: 8.031 kB / 248.9 MB, free: 9.859 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.605e-05/0.006052, allocations: 32.91 kB / 248.9 MB, free: 9.828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.006239, allocations: 208.1 kB / 249.1 MB, free: 9.598 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.006259, allocations: 8.375 kB / 249.2 MB, free: 9.59 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.006278, allocations: 8.375 kB / 249.2 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.006559, allocations: 241.6 kB / 249.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.006566, allocations: 4.188 kB / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.00658, allocations: 384 / 249.4 MB, free: 9.309 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.006587, allocations: 7.938 kB / 249.4 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.006683, allocations: 158.8 kB / 249.6 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.006969, allocations: 212.2 kB / 249.8 MB, free: 8.898 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.0071, allocations: 169.4 kB / 249.9 MB, free: 8.699 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.007185, allocations: 163.7 kB / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.00719, allocations: 0 / 250.1 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001914/0.007382, allocations: 313.3 kB / 250.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.007383, allocations: 0 / 250.4 MB, free: 8.156 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003633/0.007746, allocations: 0.5293 MB / 250.9 MB, free: 7.547 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.007785, allocations: 85.11 kB / 251 MB, free: 7.445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.008089, allocations: 359.2 kB / 251.4 MB, free: 7.082 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.008112, allocations: 29.7 kB / 251.4 MB, free: 7.047 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.008148, allocations: 97.06 kB / 251.5 MB, free: 6.949 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.008179, allocations: 39.7 kB / 251.5 MB, free: 6.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.267e-05/0.008251, allocations: 69.5 kB / 251.6 MB, free: 6.836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.322e-05/0.008325, allocations: 322.8 kB / 251.9 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.838e-05/0.008413, allocations: 154.8 kB / 252.1 MB, free: 6.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.509e-05/0.008498, allocations: 168 kB / 252.2 MB, free: 6.145 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004272/0.008925, allocations: 330.2 kB / 252.6 MB, free: 5.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.008928, allocations: 0 / 252.6 MB, free: 5.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002144/0.009142, allocations: 363.3 kB / 252.9 MB, free: 5.359 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.142e-05/0.009213, allocations: 137.7 kB / 253 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.009218, allocations: 112 / 253 MB, free: 5.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.009229, allocations: 7.938 kB / 253.1 MB, free: 5.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.298e-05/0.009252, allocations: 4.031 kB / 253.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.009255, allocations: 0 / 253.1 MB, free: 5.191 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-05/0.009343, allocations: 11.94 kB / 253.1 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.009387, allocations: 56 kB / 253.1 MB, free: 5.125 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.0002312/0.009619, allocations: 341.3 kB / 253.5 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.009656, allocations: 43.89 kB / 253.5 MB, free: 4.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.303e-05/0.009729, allocations: 47.09 kB / 253.5 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.009732, allocations: 4 kB / 253.5 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.009735, allocations: 0 / 253.5 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.009737, allocations: 4 kB / 253.6 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004163/0.01015, allocations: 0.6056 MB / 254.2 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01016, allocations: 0 / 254.2 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-06/0.01016, allocations: 0 / 254.2 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.01034, allocations: 139.4 kB / 254.3 MB, free: 3.848 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01034, allocations: 4 kB / 254.3 MB, free: 3.844 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.01036, allocations: 8 kB / 254.3 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01036, allocations: 0 / 254.3 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01036, allocations: 192 / 254.3 MB, free: 3.836 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.01063, allocations: 0.4931 MB / 254.8 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.01067, allocations: 12.06 kB / 254.8 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.01075, allocations: 19.92 kB / 254.8 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.01081, allocations: 19.98 kB / 254.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.01085, allocations: 47.98 kB / 254.9 MB, free: 3.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001475/0.011, allocations: 152.6 kB / 255 MB, free: 3.027 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.011, allocations: 0 / 255 MB, free: 3.027 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001683/0.01117, allocations: 40 kB / 255.1 MB, free: 2.988 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 0.0001038/0.01127, allocations: 96.16 kB / 255.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003265/0.0116, allocations: 0.5742 MB / 255.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.01161, allocations: 8.062 kB / 255.8 MB, free: 2.203 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.0118, allocations: 416 kB / 256.2 MB, free: 1.719 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01214, allocations: 139.8 kB / 256.3 MB, free: 1.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009052/0.01304, allocations: 0.7457 MB / 257 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.049e-05/0.01311, allocations: 95.27 kB / 257.1 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.296e-05/0.01315, allocations: 16.64 kB / 257.2 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.0134, allocations: 167.2 kB / 257.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01341, allocations: 0 / 257.3 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of Templates: time 0.006626/0.02003, allocations: 4.654 MB / 262 MB, free: 11.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.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: 2.564169244840741]