Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00151/0.00151, allocations: 112.7 kB / 19.17 MB, free: 3.891 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.001624/0.001624, allocations: 206.6 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.486/1.486, allocations: 230.4 MB / 255.4 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.84 kB / 374.7 MB, free: 4.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3165, allocations: 53.32 MB / 428.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002861/0.3193, allocations: 1.521 MB / 429.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3213, allocations: 0.8849 MB / 430.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.3214, allocations: 0 / 430.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.457e-05/0.3215, allocations: 15.86 kB / 430.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.311e-05/0.3216, allocations: 15.86 kB / 430.5 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.3218, allocations: 51.88 kB / 430.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.322, allocations: 127.7 kB / 430.7 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3222, allocations: 20.22 kB / 430.7 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006722/0.3228, allocations: 0.5771 MB / 431.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.323, allocations: 75.69 kB / 431.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.323, allocations: 8 kB / 431.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.3231, allocations: 12 kB / 431.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.3232, allocations: 63.7 kB / 431.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.3233, allocations: 119.1 kB / 431.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.3237, allocations: 375.7 kB / 431.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3237, allocations: 0 / 431.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3237, allocations: 0 / 431.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3237, allocations: 0 / 431.9 MB, free: 4.199 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.0009216/0.3247, allocations: 0.7345 MB / 432.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3247, allocations: 8.031 kB / 432.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.3248, allocations: 44.7 kB / 432.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.3251, allocations: 282.5 kB / 433 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.3251, allocations: 8.375 kB / 433 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.3252, allocations: 8.375 kB / 433 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.3256, allocations: 129.9 kB / 433.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3256, allocations: 0 / 433.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.3256, allocations: 4 kB / 433.1 MB, free: 2.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3256, allocations: 4 kB / 433.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3258, allocations: 59.95 kB / 433.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.3265, allocations: 460.5 kB / 433.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.3267, allocations: 74.55 kB / 433.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3268, allocations: 60.88 kB / 433.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3268, allocations: 4 kB / 433.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.3272, allocations: 214.6 kB / 434 MB, free: 1.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.3272, allocations: 0 / 434 MB, free: 1.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008752/0.3281, allocations: 483 kB / 434.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.3282, allocations: 170.1 kB / 434.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.3288, allocations: 0.5091 MB / 435.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3289, allocations: 33.7 kB / 435.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.3289, allocations: 101.1 kB / 435.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.329, allocations: 35.73 kB / 435.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3291, allocations: 77.56 kB / 435.4 MB, free: 452 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3293, allocations: 330.8 kB / 435.7 MB, free: 112 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3294, allocations: 55.97 kB / 435.7 MB, free: 56 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.3295, allocations: 77.67 kB / 435.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.3299, allocations: 335.3 kB / 436.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3299, allocations: 12.06 kB / 436.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005534/0.3305, allocations: 388.3 kB / 436.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-05/0.3306, allocations: 130.8 kB / 436.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3306, allocations: 0 / 436.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3306, allocations: 0 / 436.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.203e-05/0.3306, allocations: 4 kB / 436.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3306, allocations: 112 / 436.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.3307, allocations: 15.92 kB / 436.7 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.3308, allocations: 55.94 kB / 436.7 MB, free: 14.94 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.0003648/0.3312, allocations: 374.7 kB / 437.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.3312, allocations: 39.77 kB / 437.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3314, allocations: 67.14 kB / 437.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3314, allocations: 0 / 437.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3314, allocations: 0 / 437.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3314, allocations: 3.984 kB / 437.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3324, allocations: 0.8212 MB / 438 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3324, allocations: 0 / 438 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-06/0.3324, allocations: 0 / 438 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3324, allocations: 7.938 kB / 438 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.3324, allocations: 12 kB / 438 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3324, allocations: 0 / 438 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3325, allocations: 3.938 kB / 438 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006953/0.3331, allocations: 0.5363 MB / 438.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.3335, allocations: 244.6 kB / 438.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.3335, allocations: 8 kB / 438.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3337, allocations: 16.17 kB / 438.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.3338, allocations: 31.91 kB / 438.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.3338, allocations: 63.94 kB / 438.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004923/0.3343, allocations: 386.9 kB / 439.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3343, allocations: 0 / 439.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.3346, allocations: 43.98 kB / 439.4 MB, free: 12.14 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.0001615/0.3348, allocations: 117.8 kB / 439.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005267/0.3353, allocations: 381.4 kB / 439.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3353, allocations: 8.062 kB / 439.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003115/0.3356, allocations: 301.6 kB / 440.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.3362, allocations: 113.2 kB / 440.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.3373, allocations: 0.7016 MB / 441 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.3378, allocations: 0.7983 MB / 441.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.3379, allocations: 19.38 kB / 441.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3379, allocations: 4 kB / 441.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of Templates: time 0.004835/0.3427, allocations: 2.691 MB / 444.5 MB, free: 6.816 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.499122185865417]