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.001581/0.001581, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001739/0.001739, allocations: 217.7 kB / 24.5 MB, free: 4.133 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.426/1.426, allocations: 230.5 MB / 258.1 MB, free: 8 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.002686/0.002686, allocations: 71.88 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3131, allocations: 53.41 MB / 432.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002864/0.3159, allocations: 1.522 MB / 434 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.318, allocations: 0.9004 MB / 434.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.3181, allocations: 0 / 434.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.3182, allocations: 15.8 kB / 434.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.3183, allocations: 19.84 kB / 434.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.3185, allocations: 51.89 kB / 434.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.3188, allocations: 135.7 kB / 435.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.428e-05/0.3189, allocations: 8.234 kB / 435.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006898/0.3196, allocations: 0.5849 MB / 435.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.3197, allocations: 75.69 kB / 435.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.3198, allocations: 8 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.273e-05/0.3198, allocations: 12 kB / 435.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.3199, allocations: 63.7 kB / 435.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.32, allocations: 115.2 kB / 435.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004175/0.3205, allocations: 375.7 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3205, allocations: 0 / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3205, allocations: 0 / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3205, allocations: 0 / 436.3 MB, free: 2.902 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.000863/0.3213, allocations: 0.6592 MB / 437 MB, free: 2.188 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3214, allocations: 12.03 kB / 437 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.3215, allocations: 36.7 kB / 437 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.3218, allocations: 224.7 kB / 437.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.3218, allocations: 4.375 kB / 437.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.3218, allocations: 8.375 kB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.3222, allocations: 129.9 kB / 437.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3222, allocations: 0 / 437.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.3222, allocations: 8 kB / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3222, allocations: 0 / 437.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.3223, allocations: 59.97 kB / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.3231, allocations: 439.5 kB / 437.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3233, allocations: 70.55 kB / 437.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3234, allocations: 60.89 kB / 438 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.3234, allocations: 0 / 438 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003682/0.3238, allocations: 218.4 kB / 438.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 3.587e-06/0.3238, allocations: 3.984 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008369/0.3246, allocations: 476.1 kB / 438.7 MB, free: 344 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.3247, allocations: 166.2 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.3254, allocations: 0.513 MB / 439.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3255, allocations: 29.7 kB / 439.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.3255, allocations: 105 kB / 439.5 MB, free: 15.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.3256, allocations: 27.8 kB / 439.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.3257, allocations: 89.55 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3259, allocations: 326.8 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.326, allocations: 55.97 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.3261, allocations: 69.69 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.3265, allocations: 347.2 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3265, allocations: 0 / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005732/0.3271, allocations: 396.3 kB / 440.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.3272, allocations: 122.8 kB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3272, allocations: 0 / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3272, allocations: 0 / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.167e-05/0.3272, allocations: 3.938 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.3272, allocations: 4 kB / 440.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3274, allocations: 12.09 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.958e-05/0.3274, allocations: 59.88 kB / 441 MB, free: 13.86 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.0003676/0.3278, allocations: 362.5 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.3279, allocations: 39.77 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.328, allocations: 67.08 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.328, allocations: 3.984 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.328, allocations: 4 kB / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.328, allocations: 0 / 441.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.329, allocations: 0.7923 MB / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.329, allocations: 0 / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.019e-06/0.329, allocations: 4 kB / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.329, allocations: 0 / 442.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.329, allocations: 16.19 kB / 442.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3291, allocations: 4 kB / 442.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.3291, allocations: 3.938 kB / 442.3 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.3298, allocations: 0.5332 MB / 442.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003983/0.3302, allocations: 205.4 kB / 443 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.3302, allocations: 8 kB / 443 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3304, allocations: 15.98 kB / 443 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3305, allocations: 31.91 kB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.728e-05/0.3306, allocations: 56 kB / 443.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005068/0.3311, allocations: 390.9 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3311, allocations: 0 / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003067/0.3314, allocations: 43.94 kB / 443.5 MB, free: 11.16 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.0001797/0.3315, allocations: 113.8 kB / 443.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005418/0.3321, allocations: 369.5 kB / 444 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3321, allocations: 0 / 444 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003102/0.3324, allocations: 309.6 kB / 444.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006316/0.333, allocations: 125 kB / 444.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3342, allocations: 0.6939 MB / 445.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.3348, allocations: 0.7983 MB / 445.9 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.3348, allocations: 11.44 kB / 445.9 MB, free: 8.609 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3348, allocations: 11.88 kB / 445.9 MB, free: 8.598 MB / 350.1 MB Notification: Performance of Templates: time 0.005287/0.3401, allocations: 2.661 MB / 448.6 MB, free: 5.879 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/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: 7.653429465834051]