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.001841/0.001841, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 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.002018/0.002018, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 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 1.429/1.429, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001542/0.001542, allocations: 47.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2692, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002817/0.272, allocations: 1.514 MB / 422.4 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.2739, allocations: 0.8674 MB / 423.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.274, allocations: 0 / 423.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.643e-05/0.2741, allocations: 7.938 kB / 423.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.2742, allocations: 19.86 kB / 423.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.2744, allocations: 55.86 kB / 423.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.2746, allocations: 127.7 kB / 423.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.2747, allocations: 20.14 kB / 423.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.2754, allocations: 0.5771 MB / 424.1 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2755, allocations: 83.67 kB / 424.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.2756, allocations: 8 kB / 424.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-05/0.2756, allocations: 12 kB / 424.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.2757, allocations: 63.7 kB / 424.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2759, allocations: 111.2 kB / 424.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.2763, allocations: 375.7 kB / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.2763, allocations: 4 kB / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2763, allocations: 0 / 424.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.2763, allocations: 0 / 424.7 MB, free: 11.26 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.0008285/0.2771, allocations: 0.7344 MB / 425.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2771, allocations: 11.97 kB / 425.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.2772, allocations: 40.7 kB / 425.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.2775, allocations: 274.7 kB / 425.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.2776, allocations: 4.375 kB / 425.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.2776, allocations: 8.375 kB / 425.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.2779, allocations: 132.8 kB / 425.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.2779, allocations: 0 / 425.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2779, allocations: 11.94 kB / 425.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2779, allocations: 4 kB / 425.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.2781, allocations: 59.91 kB / 426 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007098/0.2788, allocations: 460.5 kB / 426.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.279, allocations: 78.48 kB / 426.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.2791, allocations: 60.89 kB / 426.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.2792, allocations: 0 / 426.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004301/0.2796, allocations: 210.7 kB / 426.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2796, allocations: 0 / 426.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000854/0.2804, allocations: 480.3 kB / 427.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.2805, allocations: 166.2 kB / 427.4 MB, free: 8.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.2812, allocations: 0.5207 MB / 427.9 MB, free: 7.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.2812, allocations: 29.7 kB / 427.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.2813, allocations: 93.14 kB / 428 MB, free: 7.629 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.2814, allocations: 39.77 kB / 428.1 MB, free: 7.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.2815, allocations: 85.52 kB / 428.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2816, allocations: 326.8 kB / 428.5 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2818, allocations: 55.97 kB / 428.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2819, allocations: 77.67 kB / 428.6 MB, free: 7.035 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.2823, allocations: 343.2 kB / 428.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2823, allocations: 4 kB / 428.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005639/0.2828, allocations: 387.2 kB / 429.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.2829, allocations: 126.8 kB / 429.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2829, allocations: 3.938 kB / 429.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.2829, allocations: 0 / 429.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.551e-05/0.283, allocations: 8.125 kB / 429.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.283, allocations: 0 / 429.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2831, allocations: 11.95 kB / 429.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/0.2832, allocations: 60.06 kB / 429.5 MB, free: 6.004 MB / 334.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.000391/0.2836, allocations: 374.6 kB / 429.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.2836, allocations: 39.77 kB / 429.9 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.773e-05/0.2837, allocations: 59.16 kB / 430 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.2837, allocations: 112 / 430 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2837, allocations: 3.938 kB / 430 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2837, allocations: 0 / 430 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.2848, allocations: 0.8251 MB / 430.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2848, allocations: 0 / 430.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-06/0.2848, allocations: 0 / 430.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2848, allocations: 4 kB / 430.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.2848, allocations: 19.98 kB / 430.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.2848, allocations: 0 / 430.8 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.2848, allocations: 3.938 kB / 430.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.2855, allocations: 0.5371 MB / 431.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.2858, allocations: 244.6 kB / 431.6 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/0.2859, allocations: 15.94 kB / 431.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.286, allocations: 11.98 kB / 431.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.2861, allocations: 31.91 kB / 431.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.2862, allocations: 59.92 kB / 431.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004765/0.2867, allocations: 386.9 kB / 432.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2867, allocations: 0 / 432.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.287, allocations: 44 kB / 432.2 MB, free: 3.199 MB / 334.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.0001677/0.2871, allocations: 121.9 kB / 432.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005327/0.2877, allocations: 373.5 kB / 432.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/0.2877, allocations: 8.062 kB / 432.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.288, allocations: 297.5 kB / 432.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.2886, allocations: 121.5 kB / 433.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.2897, allocations: 0.6674 MB / 433.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/0.2902, allocations: 0.8058 MB / 434.5 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.2903, allocations: 8.656 kB / 434.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.2903, allocations: 15.44 kB / 434.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2903, allocations: 0 / 434.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of Templates: time 0.008946/0.2992, allocations: 4.712 MB / 439.3 MB, free: 11.88 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.57747692335397]