Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001702/0.001702, allocations: 117.6 kB / 17.83 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002053/0.002053, allocations: 203.9 kB / 18.79 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.462/1.462, allocations: 230.4 MB / 250 MB, free: 9.043 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.83 kB / 367.3 MB, free: 7.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2986, allocations: 53.31 MB / 420.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003399/0.302, allocations: 1.529 MB / 422.2 MB, free: 6.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.3044, allocations: 0.8771 MB / 423.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.3044, allocations: 0 / 423.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.3046, allocations: 15.86 kB / 423.1 MB, free: 5.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.3047, allocations: 27.84 kB / 423.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.305, allocations: 47.89 kB / 423.2 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.3053, allocations: 127.7 kB / 423.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3054, allocations: 11.75 kB / 423.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006594/0.3061, allocations: 0.5809 MB / 423.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3062, allocations: 75.75 kB / 423.9 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.3062, allocations: 8 kB / 423.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.369e-05/0.3063, allocations: 15.94 kB / 424 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3064, allocations: 71.62 kB / 424 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3065, allocations: 107.2 kB / 424.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.3069, allocations: 382.2 kB / 424.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3069, allocations: 0 / 424.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3069, allocations: 0 / 424.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3069, allocations: 0 / 424.5 MB, free: 4.473 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.0008926/0.3078, allocations: 0.7305 MB / 425.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3079, allocations: 8.031 kB / 425.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.403e-05/0.308, allocations: 40.7 kB / 425.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.3084, allocations: 278.7 kB / 425.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.3084, allocations: 8.312 kB / 425.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.3085, allocations: 12.36 kB / 425.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.3088, allocations: 141.8 kB / 425.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3088, allocations: 0 / 425.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.3089, allocations: 8 kB / 425.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3089, allocations: 0 / 425.7 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.309, allocations: 55.97 kB / 425.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.3098, allocations: 456.5 kB / 426.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.31, allocations: 82.53 kB / 426.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3101, allocations: 60.89 kB / 426.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3102, allocations: 0 / 426.4 MB, free: 2.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.3106, allocations: 202.8 kB / 426.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3106, allocations: 0 / 426.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008481/0.3114, allocations: 486.7 kB / 427 MB, free: 1.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.3116, allocations: 166.2 kB / 427.2 MB, free: 1.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.3122, allocations: 0.5169 MB / 427.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.3123, allocations: 29.7 kB / 427.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.3124, allocations: 109.1 kB / 427.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.3124, allocations: 27.8 kB / 427.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.3125, allocations: 81.55 kB / 428 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3127, allocations: 330.7 kB / 428.3 MB, free: 396 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.3128, allocations: 55.97 kB / 428.3 MB, free: 340 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.313, allocations: 77.69 kB / 428.4 MB, free: 256 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.3133, allocations: 347.4 kB / 428.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3133, allocations: 0 / 428.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005714/0.3139, allocations: 392.2 kB / 429.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.314, allocations: 125.5 kB / 429.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.314, allocations: 80 / 429.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.314, allocations: 0 / 429.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-05/0.3141, allocations: 4 kB / 429.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.3141, allocations: 3.984 kB / 429.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.3142, allocations: 23.95 kB / 429.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/0.3143, allocations: 56.05 kB / 429.3 MB, free: 15.21 MB / 350.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.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.0003764/0.3147, allocations: 366.6 kB / 429.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.3147, allocations: 39.77 kB / 429.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001099/0.3148, allocations: 71.08 kB / 429.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.3148, allocations: 0 / 429.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3148, allocations: 0 / 429.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3148, allocations: 0 / 429.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.3159, allocations: 0.824 MB / 430.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3159, allocations: 0 / 430.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.3159, allocations: 0 / 430.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3159, allocations: 0 / 430.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.316, allocations: 19.98 kB / 430.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.316, allocations: 0 / 430.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.316, allocations: 3.938 kB / 430.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.3167, allocations: 0.5332 MB / 431.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003558/0.3171, allocations: 252.6 kB / 431.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.3171, allocations: 12 kB / 431.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3172, allocations: 4.188 kB / 431.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.3174, allocations: 35.91 kB / 431.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.3175, allocations: 63.91 kB / 431.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005232/0.318, allocations: 386.9 kB / 431.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.318, allocations: 0 / 431.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.3183, allocations: 47.94 kB / 432 MB, free: 12.41 MB / 350.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,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 0.0002058/0.3185, allocations: 113.9 kB / 432.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006034/0.3191, allocations: 385.5 kB / 432.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3191, allocations: 0 / 432.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.3194, allocations: 301.6 kB / 432.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.3201, allocations: 116.4 kB / 432.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.3213, allocations: 0.6532 MB / 433.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.3218, allocations: 0.7984 MB / 434.3 MB, free: 9.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.307e-05/0.3218, allocations: 8.656 kB / 434.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.3219, allocations: 19.42 kB / 434.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3219, allocations: 3.938 kB / 434.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of Templates: time 0.008952/0.3308, allocations: 4.679 MB / 439 MB, free: 5.133 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches