Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.0009074/0.0009074, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001171/0.001171, allocations: 149.7 kB / 24.9 MB, free: 8.738 MB / 18.57 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.9494/0.9494, allocations: 173.4 MB / 201.5 MB, free: 8.762 MB / 186.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 268.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.82e-05, allocations: 2.312 kB / 268.5 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001755/0.001773, allocations: 1.508 MB / 270 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.003096, allocations: 0.8377 MB / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.003137, allocations: 0 / 270.8 MB, free: 3.691 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.384e-05/0.003221, allocations: 11.86 kB / 270.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.00329, allocations: 23.86 kB / 270.8 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.003499, allocations: 51.83 kB / 270.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.003647, allocations: 135.7 kB / 271 MB, free: 3.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.938e-05/0.003716, allocations: 16.22 kB / 271 MB, free: 3.453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004126/0.004129, allocations: 0.5381 MB / 271.6 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.00423, allocations: 71.73 kB / 271.7 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.004259, allocations: 8 kB / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.238e-05/0.004281, allocations: 8 kB / 271.7 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-05/0.004342, allocations: 63.78 kB / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.004405, allocations: 55.73 kB / 271.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.004625, allocations: 283 kB / 272.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004627, allocations: 4 kB / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004627, allocations: 0 / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.004631, allocations: 0 / 272.1 MB, free: 2.43 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.0004631/0.005095, allocations: 0.6147 MB / 272.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.005122, allocations: 8.922 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.005171, allocations: 32.91 kB / 272.7 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.005328, allocations: 220 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.005342, allocations: 4.375 kB / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.005363, allocations: 16.36 kB / 273 MB, free: 1.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.005587, allocations: 229.3 kB / 273.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.005593, allocations: 4.188 kB / 273.2 MB, free: 1.207 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.005607, allocations: 12.31 kB / 273.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.005612, allocations: 3.938 kB / 273.2 MB, free: 1.191 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.259e-05/0.005695, allocations: 150.8 kB / 273.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.005952, allocations: 208.2 kB / 273.5 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.006069, allocations: 161.4 kB / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.799e-05/0.006147, allocations: 155.7 kB / 273.9 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-06/0.006153, allocations: 3.984 kB / 273.9 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.006325, allocations: 313.3 kB / 274.2 MB, free: 72 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.006327, allocations: 0 / 274.2 MB, free: 72 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003321/0.006659, allocations: 0.5138 MB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.006717, allocations: 170.2 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.006983, allocations: 363.2 kB / 275.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.007003, allocations: 25.7 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.007038, allocations: 101.1 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.007062, allocations: 27.83 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.477e-05/0.007127, allocations: 69.55 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.271e-05/0.0072, allocations: 326.8 kB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.00728, allocations: 150.8 kB / 275.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.007358, allocations: 160.6 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.007513, allocations: 319.2 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.007515, allocations: 0 / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000191/0.007706, allocations: 354.9 kB / 276.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.836e-05/0.007764, allocations: 134.7 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.007769, allocations: 0 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.00778, allocations: 0 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.416e-05/0.007794, allocations: 4.031 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.007797, allocations: 4 kB / 276.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.152e-05/0.007869, allocations: 11.95 kB / 276.9 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.00791, allocations: 55.92 kB / 276.9 MB, free: 12.99 MB / 266.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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0002077/0.008117, allocations: 337.4 kB / 277.2 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.008153, allocations: 43.91 kB / 277.3 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.008227, allocations: 51.08 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.008229, allocations: 3.938 kB / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.00823, allocations: 0 / 277.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008233, allocations: 4.109 kB / 277.3 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.008604, allocations: 0.59 MB / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.008605, allocations: 0 / 277.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.008609, allocations: 4 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.008612, allocations: 3.938 kB / 277.9 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.008625, allocations: 7.984 kB / 277.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008626, allocations: 0 / 277.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.008627, allocations: 0 / 277.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.008865, allocations: 497 kB / 278.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.009041, allocations: 151.4 kB / 278.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.009071, allocations: 12.19 kB / 278.6 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.009139, allocations: 15.98 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.009195, allocations: 19.98 kB / 278.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.00923, allocations: 51.98 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.009363, allocations: 148.6 kB / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.009364, allocations: 0 / 278.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.009517, allocations: 44 kB / 278.9 MB, free: 10.85 MB / 266.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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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 8.492e-05/0.009602, allocations: 103.1 kB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002833/0.009885, allocations: 0.5546 MB / 279.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.009889, allocations: 8.062 kB / 279.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.01006, allocations: 408 kB / 279.9 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.01035, allocations: 125.7 kB / 280 MB, free: 9.488 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006541/0.011, allocations: 0.7301 MB / 280.8 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.386e-05/0.01107, allocations: 99.25 kB / 280.9 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.01109, allocations: 8.719 kB / 280.9 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.01132, allocations: 167.2 kB / 281 MB, free: 8.414 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01132, allocations: 0 / 281 MB, free: 8.414 MB / 266.7 MB Notification: Performance of Templates: time 0.005224/0.01654, allocations: 4.64 MB / 285.7 MB, free: 3.75 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.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.7260416341014206]