Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001897/0.001897, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002497/0.002497, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 55.91 kB / 378.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3232, allocations: 53.38 MB / 432.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003089/0.3263, allocations: 1.526 MB / 433.6 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.3285, allocations: 0.8965 MB / 434.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.103e-05/0.3285, allocations: 0 / 434.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.3286, allocations: 11.86 kB / 434.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.3288, allocations: 19.8 kB / 434.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.329, allocations: 55.88 kB / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.3293, allocations: 127.8 kB / 434.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.3294, allocations: 12.22 kB / 434.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007243/0.3301, allocations: 0.581 MB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.3303, allocations: 71.7 kB / 435.4 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.3303, allocations: 15.98 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.133e-05/0.3304, allocations: 12 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3305, allocations: 63.7 kB / 435.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3306, allocations: 123.1 kB / 435.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.3311, allocations: 368.2 kB / 436 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3311, allocations: 0 / 436 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3311, allocations: 7.875 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3311, allocations: 0 / 436 MB, free: 3.211 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.0009453/0.332, allocations: 0.6552 MB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.3321, allocations: 8.031 kB / 436.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.832e-05/0.3322, allocations: 40.7 kB / 436.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.3325, allocations: 220.8 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3326, allocations: 8.312 kB / 436.9 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.3326, allocations: 8.375 kB / 436.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.333, allocations: 133.9 kB / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.333, allocations: 0 / 437.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.333, allocations: 4 kB / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.333, allocations: 0 / 437.1 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.3332, allocations: 55.97 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000782/0.3339, allocations: 443.5 kB / 437.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.3341, allocations: 74.53 kB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3343, allocations: 60.89 kB / 437.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.3343, allocations: 4 kB / 437.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004474/0.3348, allocations: 210.8 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.3348, allocations: 0 / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009355/0.3357, allocations: 475.5 kB / 438.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.3359, allocations: 166.2 kB / 438.5 MB, free: 464 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008917/0.3368, allocations: 0.513 MB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/0.3368, allocations: 29.7 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.3369, allocations: 101.1 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.337, allocations: 35.72 kB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.3371, allocations: 77.56 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3373, allocations: 330.8 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.3374, allocations: 55.97 kB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.3376, allocations: 73.67 kB / 439.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.338, allocations: 339.4 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.338, allocations: 3.938 kB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006345/0.3387, allocations: 392.3 kB / 440.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.3388, allocations: 126.8 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3388, allocations: 0 / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.3388, allocations: 3.984 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.3389, allocations: 3.984 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3389, allocations: 4 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.339, allocations: 8 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.052e-05/0.3391, allocations: 63.92 kB / 440.6 MB, free: 14.18 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.0004329/0.3395, allocations: 366.4 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.3396, allocations: 39.77 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.3397, allocations: 67.08 kB / 441.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3397, allocations: 7.938 kB / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3397, allocations: 0 / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3397, allocations: 0 / 441.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.341, allocations: 0.7852 MB / 441.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.341, allocations: 0 / 441.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.889e-06/0.341, allocations: 192 / 441.9 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.341, allocations: 4 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.056e-05/0.3411, allocations: 19.98 kB / 441.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3411, allocations: 7.938 kB / 441.9 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.3411, allocations: 3.938 kB / 441.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007633/0.3418, allocations: 0.5327 MB / 442.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.3423, allocations: 205.4 kB / 442.7 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.3423, allocations: 12 kB / 442.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3424, allocations: 11.98 kB / 442.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.3426, allocations: 27.92 kB / 442.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/0.3427, allocations: 55.98 kB / 442.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005157/0.3432, allocations: 390.9 kB / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3432, allocations: 0 / 443.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.3435, allocations: 43.94 kB / 443.2 MB, free: 11.47 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.0001738/0.3436, allocations: 109.9 kB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005775/0.3442, allocations: 381.4 kB / 443.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3442, allocations: 0 / 443.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003255/0.3445, allocations: 305.5 kB / 444 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.3452, allocations: 124.6 kB / 444.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3465, allocations: 0.661 MB / 444.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.347, allocations: 0.7944 MB / 445.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.345e-05/0.3471, allocations: 12.64 kB / 445.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.3471, allocations: 11.44 kB / 445.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3471, allocations: 0 / 445.6 MB, free: 8.953 MB / 350.1 MB Notification: Performance of Templates: time 0.009332/0.3565, allocations: 4.711 MB / 450.3 MB, free: 4.164 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.626063401810825]