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.001714/0.001714, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.002053/0.002053, allocations: 194.8 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.535/1.535, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001692/0.001692, allocations: 47.86 kB / 370.9 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3029, allocations: 52.19 MB / 423.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002851/0.3057, allocations: 1.474 MB / 424.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.3078, allocations: 0.8031 MB / 425.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.3079, allocations: 7.938 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.308, allocations: 7.922 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.446e-05/0.3081, allocations: 19.8 kB / 425.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.3084, allocations: 55.94 kB / 425.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.3086, allocations: 127.7 kB / 425.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.3087, allocations: 16.22 kB / 425.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007039/0.3094, allocations: 0.5809 MB / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.3096, allocations: 71.73 kB / 426.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.823e-05/0.3096, allocations: 8 kB / 426.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.908e-05/0.3097, allocations: 12 kB / 426.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3098, allocations: 67.64 kB / 426.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.3099, allocations: 75.42 kB / 426.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.3103, allocations: 384.6 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3103, allocations: 4 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3103, allocations: 0 / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3103, allocations: 0 / 426.8 MB, free: 10.73 MB / 334.1 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.0008898/0.3112, allocations: 0.6552 MB / 427.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3113, allocations: 12.03 kB / 427.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.3114, allocations: 36.7 kB / 427.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003187/0.3117, allocations: 212.9 kB / 427.7 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.3117, allocations: 8.312 kB / 427.7 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.3117, allocations: 8.375 kB / 427.7 MB, free: 9.723 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.3121, allocations: 248.7 kB / 427.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3121, allocations: 7.938 kB / 427.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.3122, allocations: 8 kB / 427.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3122, allocations: 0 / 427.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002245/0.3124, allocations: 178.8 kB / 428.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006477/0.313, allocations: 388.2 kB / 428.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.3133, allocations: 197.3 kB / 428.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.3135, allocations: 175.7 kB / 428.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.3135, allocations: 0 / 428.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004687/0.314, allocations: 329.5 kB / 429.2 MB, free: 8.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.694e-06/0.314, allocations: 4 kB / 429.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001046/0.315, allocations: 0.7088 MB / 429.9 MB, free: 7.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.3152, allocations: 166.2 kB / 430.1 MB, free: 7.035 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.3159, allocations: 0.5168 MB / 430.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.3159, allocations: 29.7 kB / 430.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.316, allocations: 93.14 kB / 430.7 MB, free: 6.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.316, allocations: 39.72 kB / 430.7 MB, free: 6.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.3161, allocations: 81.56 kB / 430.8 MB, free: 6.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3163, allocations: 326.8 kB / 431.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.3165, allocations: 178.8 kB / 431.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.3167, allocations: 204.4 kB / 431.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.3171, allocations: 351.3 kB / 431.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3171, allocations: 0 / 431.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007402/0.3178, allocations: 0.5051 MB / 432.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/0.3179, allocations: 122.8 kB / 432.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3179, allocations: 0 / 432.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3179, allocations: 112 / 432.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.265e-05/0.318, allocations: 7.938 kB / 432.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.318, allocations: 7.984 kB / 432.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.3181, allocations: 8 kB / 432.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.3182, allocations: 59.97 kB / 432.6 MB, free: 4.312 MB / 334.1 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.0003661/0.3185, allocations: 366.5 kB / 432.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.3186, allocations: 39.77 kB / 433 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.3187, allocations: 67.08 kB / 433 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3187, allocations: 0 / 433 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3187, allocations: 4 kB / 433 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3187, allocations: 0 / 433 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.3198, allocations: 0.8627 MB / 433.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3198, allocations: 3.984 kB / 433.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-06/0.3198, allocations: 0 / 433.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3198, allocations: 4 kB / 433.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.3198, allocations: 12 kB / 433.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3198, allocations: 0 / 433.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3198, allocations: 192 / 433.9 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007696/0.3206, allocations: 0.6647 MB / 434.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.321, allocations: 205.4 kB / 434.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.3211, allocations: 19.98 kB / 434.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.3212, allocations: 8 kB / 434.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.3213, allocations: 27.97 kB / 434.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.256e-05/0.3214, allocations: 55.94 kB / 434.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004829/0.3219, allocations: 394.9 kB / 435.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3219, allocations: 0 / 435.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.3221, allocations: 47.88 kB / 435.3 MB, free: 1.371 MB / 334.1 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.000139/0.3223, allocations: 111 kB / 435.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006983/0.323, allocations: 0.6163 MB / 436 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.323, allocations: 0 / 436 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003832/0.3234, allocations: 424.4 kB / 436.5 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.324, allocations: 128.4 kB / 436.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3252, allocations: 0.7654 MB / 437.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.3255, allocations: 197.5 kB / 437.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.3256, allocations: 12.59 kB / 437.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.3256, allocations: 11.44 kB / 437.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3256, allocations: 0 / 437.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Templates: time 0.009439/0.335, allocations: 5.071 MB / 442.6 MB, free: 9.785 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9183821845799685]