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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 198.8 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.001504/0.001504, allocations: 51.91 kB / 369.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2781, allocations: 52.14 MB / 421.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002794/0.2809, allocations: 1.51 MB / 422.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.2828, allocations: 0.8596 MB / 423.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.2829, allocations: 0 / 423.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.841e-05/0.283, allocations: 11.86 kB / 423.7 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.214e-05/0.2831, allocations: 19.86 kB / 423.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.2833, allocations: 51.88 kB / 423.7 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.2835, allocations: 123.8 kB / 423.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.2836, allocations: 20.17 kB / 423.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006553/0.2843, allocations: 0.5809 MB / 424.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.2844, allocations: 75.73 kB / 424.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.2845, allocations: 12 kB / 424.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.663e-05/0.2845, allocations: 11.94 kB / 424.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/0.2846, allocations: 67.75 kB / 424.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2847, allocations: 115.1 kB / 424.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004117/0.2851, allocations: 375.7 kB / 425.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2851, allocations: 0 / 425.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2851, allocations: 0 / 425.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2852, allocations: 0 / 425.1 MB, free: 11.32 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.000903/0.2861, allocations: 0.7422 MB / 425.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2861, allocations: 8.031 kB / 425.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.2862, allocations: 40.7 kB / 425.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.2865, allocations: 266.7 kB / 426.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.2865, allocations: 16.36 kB / 426.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.2865, allocations: 4.375 kB / 426.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.2869, allocations: 133.8 kB / 426.3 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.2869, allocations: 0 / 426.3 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.2869, allocations: 4 kB / 426.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2869, allocations: 7.938 kB / 426.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2871, allocations: 55.97 kB / 426.4 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.2878, allocations: 472.5 kB / 426.8 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.288, allocations: 70.55 kB / 426.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.2881, allocations: 64.89 kB / 427 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2881, allocations: 0 / 427 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.2885, allocations: 202.7 kB / 427.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.2885, allocations: 4 kB / 427.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008519/0.2893, allocations: 482.6 kB / 427.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.2895, allocations: 170.2 kB / 427.8 MB, free: 8.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006693/0.2901, allocations: 0.5129 MB / 428.3 MB, free: 7.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.531e-05/0.2902, allocations: 33.7 kB / 428.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.2903, allocations: 97.12 kB / 428.4 MB, free: 7.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.2903, allocations: 35.69 kB / 428.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.2904, allocations: 81.55 kB / 428.6 MB, free: 7.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2906, allocations: 334.8 kB / 428.9 MB, free: 7.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.2907, allocations: 55.97 kB / 428.9 MB, free: 7.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.2909, allocations: 73.73 kB / 429 MB, free: 7.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.2912, allocations: 343.3 kB / 429.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2912, allocations: 0 / 429.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000591/0.2918, allocations: 400.2 kB / 429.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.2919, allocations: 122.8 kB / 429.9 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2919, allocations: 4 kB / 429.9 MB, free: 6.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.292, allocations: 3.938 kB / 429.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.988e-05/0.292, allocations: 0 / 429.9 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.292, allocations: 7.984 kB / 429.9 MB, free: 6.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.2921, allocations: 8 kB / 429.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/0.2922, allocations: 52 kB / 429.9 MB, free: 6.062 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.0003755/0.2926, allocations: 370.6 kB / 430.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.2926, allocations: 39.77 kB / 430.3 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.2927, allocations: 75.14 kB / 430.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2927, allocations: 0 / 430.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2927, allocations: 112 / 430.4 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2927, allocations: 3.938 kB / 430.4 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.2938, allocations: 0.8233 MB / 431.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2938, allocations: 0 / 431.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/0.2938, allocations: 0 / 431.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2938, allocations: 0 / 431.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.2938, allocations: 15.98 kB / 431.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2938, allocations: 0 / 431.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2938, allocations: 7.938 kB / 431.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006947/0.2945, allocations: 0.5332 MB / 431.8 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.2949, allocations: 248.6 kB / 432 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.2949, allocations: 8.188 kB / 432 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.2951, allocations: 16 kB / 432.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2952, allocations: 27.91 kB / 432.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.2953, allocations: 67.91 kB / 432.2 MB, free: 3.672 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004891/0.2957, allocations: 390.9 kB / 432.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2957, allocations: 0 / 432.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002913/0.296, allocations: 40 kB / 432.6 MB, free: 3.254 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.0001478/0.2962, allocations: 117.8 kB / 432.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005237/0.2967, allocations: 373.5 kB / 433.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2967, allocations: 0 / 433.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.297, allocations: 305.6 kB / 433.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.2976, allocations: 122.9 kB / 433.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2988, allocations: 0.7017 MB / 434.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.2993, allocations: 0.8019 MB / 435 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.2993, allocations: 11.44 kB / 435 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2993, allocations: 3.938 kB / 435 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of Templates: time 0.004906/0.3042, allocations: 2.696 MB / 437.7 MB, free: 13.94 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/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