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.001659/0.001659, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00236/0.00236, allocations: 213.9 kB / 23.73 MB, free: 4.164 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.507/1.507, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.001968/0.001968, allocations: 59.91 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3063, allocations: 53.42 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003063/0.3094, allocations: 1.479 MB / 433.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.3115, allocations: 0.8381 MB / 433.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.3116, allocations: 0 / 433.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3117, allocations: 11.86 kB / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.3118, allocations: 27.78 kB / 434 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.3121, allocations: 51.89 kB / 434 MB, free: 4.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.3123, allocations: 119.8 kB / 434.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3124, allocations: 16.2 kB / 434.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007078/0.3131, allocations: 0.5887 MB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3132, allocations: 63.77 kB / 434.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.3133, allocations: 8 kB / 434.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3134, allocations: 12 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.446e-05/0.3135, allocations: 71.58 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.3136, allocations: 79.41 kB / 435 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.3141, allocations: 380.7 kB / 435.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3141, allocations: 0 / 435.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3141, allocations: 0 / 435.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3141, allocations: 0 / 435.4 MB, free: 2.781 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.0008472/0.315, allocations: 0.6591 MB / 436 MB, free: 2.066 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.315, allocations: 15.98 kB / 436 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.3151, allocations: 36.7 kB / 436.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.3154, allocations: 224.8 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3154, allocations: 4.375 kB / 436.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.3154, allocations: 8.375 kB / 436.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.3158, allocations: 248.7 kB / 436.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.3158, allocations: 0 / 436.5 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.3159, allocations: 11.98 kB / 436.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3159, allocations: 0 / 436.6 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002368/0.3161, allocations: 178.8 kB / 436.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007012/0.3168, allocations: 388.2 kB / 437.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.3171, allocations: 193.3 kB / 437.3 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3173, allocations: 179.7 kB / 437.5 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3173, allocations: 4 kB / 437.5 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005671/0.3179, allocations: 325.6 kB / 437.8 MB, free: 68 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3179, allocations: 0 / 437.8 MB, free: 68 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001072/0.319, allocations: 0.7009 MB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.3191, allocations: 170.2 kB / 438.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/0.3198, allocations: 0.5169 MB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.3198, allocations: 29.7 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.432e-05/0.3199, allocations: 109.1 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.32, allocations: 31.72 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3201, allocations: 85.55 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3203, allocations: 322.8 kB / 439.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002116/0.3205, allocations: 174.8 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3207, allocations: 195.3 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.3211, allocations: 354.5 kB / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3211, allocations: 0 / 440.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007013/0.3218, allocations: 0.507 MB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.3219, allocations: 138.8 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3219, allocations: 0 / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.3219, allocations: 0 / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.063e-05/0.322, allocations: 4 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.322, allocations: 0 / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.3221, allocations: 11.98 kB / 441.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.3222, allocations: 59.88 kB / 441.2 MB, free: 12.36 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.0004786/0.3227, allocations: 370.5 kB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.3228, allocations: 39.77 kB / 441.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.3229, allocations: 71.09 kB / 441.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.3229, allocations: 0 / 441.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3229, allocations: 0 / 441.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3229, allocations: 3.984 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.3242, allocations: 0.8627 MB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3242, allocations: 0 / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.3242, allocations: 0 / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3242, allocations: 0 / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.3242, allocations: 15.98 kB / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.3242, allocations: 0 / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3242, allocations: 0 / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00085/0.3251, allocations: 0.6686 MB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000446/0.3255, allocations: 205.4 kB / 443.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/0.3256, allocations: 12 kB / 443.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3257, allocations: 7.984 kB / 443.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3259, allocations: 23.98 kB / 443.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-05/0.3259, allocations: 55.98 kB / 443.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005418/0.3265, allocations: 386.9 kB / 443.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3265, allocations: 0 / 443.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.3268, allocations: 55.88 kB / 443.9 MB, free: 9.418 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.000172/0.327, allocations: 113.9 kB / 444 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007343/0.3277, allocations: 0.6046 MB / 444.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3277, allocations: 0 / 444.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.3281, allocations: 432.5 kB / 445.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.3287, allocations: 125 kB / 445.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.33, allocations: 0.7693 MB / 446 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3303, allocations: 193.8 kB / 446.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.3304, allocations: 4.672 kB / 446.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.3304, allocations: 19.44 kB / 446.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3304, allocations: 3.938 kB / 446.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Templates: time 0.0102/0.3406, allocations: 5.065 MB / 451.2 MB, free: 1.824 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.644382523372769]