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.001425/0.001425, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.001456/0.001456, allocations: 215.8 kB / 22.99 MB, free: 5.578 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.482/1.482, allocations: 230.2 MB / 256.2 MB, free: 8.512 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.002109/0.002109, allocations: 63.89 kB / 376.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3963/0.3984, allocations: 53.32 MB / 429.8 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003008/0.4014, allocations: 1.53 MB / 431.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.4036, allocations: 0.8925 MB / 432.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.72e-05/0.4037, allocations: 0 / 432.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.4038, allocations: 11.92 kB / 432.2 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.4039, allocations: 31.78 kB / 432.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.4042, allocations: 43.95 kB / 432.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002333/0.4045, allocations: 127.7 kB / 432.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.4046, allocations: 16.22 kB / 432.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.4053, allocations: 0.5771 MB / 433 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.4054, allocations: 75.69 kB / 433.1 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.4055, allocations: 8 kB / 433.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.045e-05/0.4055, allocations: 12 kB / 433.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.4056, allocations: 67.64 kB / 433.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.4057, allocations: 119.2 kB / 433.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.4062, allocations: 375.9 kB / 433.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4062, allocations: 0 / 433.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4062, allocations: 4 kB / 433.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.4062, allocations: 0 / 433.7 MB, free: 3.758 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.0009334/0.4072, allocations: 0.7227 MB / 434.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4072, allocations: 12.02 kB / 434.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.4073, allocations: 40.7 kB / 434.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.4076, allocations: 274.7 kB / 434.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.4076, allocations: 8.312 kB / 434.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.4076, allocations: 12.38 kB / 434.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.408, allocations: 133.9 kB / 434.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.408, allocations: 0 / 434.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.408, allocations: 4 kB / 434.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.408, allocations: 3.984 kB / 434.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.4082, allocations: 67.89 kB / 434.9 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/0.4089, allocations: 452.6 kB / 435.4 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.4091, allocations: 82.47 kB / 435.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.4092, allocations: 60.89 kB / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.4092, allocations: 0 / 435.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/0.4095, allocations: 206.1 kB / 435.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.4095, allocations: 0 / 435.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008478/0.4104, allocations: 484.1 kB / 436.2 MB, free: 1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.4105, allocations: 174.2 kB / 436.4 MB, free: 0.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.4112, allocations: 0.5091 MB / 436.9 MB, free: 280 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.4112, allocations: 29.7 kB / 436.9 MB, free: 244 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.4113, allocations: 105.1 kB / 437 MB, free: 136 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.4113, allocations: 35.72 kB / 437 MB, free: 100 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.4114, allocations: 89.5 kB / 437.1 MB, free: 4 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4116, allocations: 322.8 kB / 437.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.4117, allocations: 55.97 kB / 437.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4119, allocations: 81.67 kB / 437.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.4122, allocations: 347.2 kB / 437.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4122, allocations: 0 / 437.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005654/0.4128, allocations: 392.4 kB / 438.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.826e-05/0.4129, allocations: 122.8 kB / 438.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4129, allocations: 0 / 438.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4129, allocations: 4 kB / 438.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.988e-05/0.4129, allocations: 32 / 438.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.413, allocations: 4 kB / 438.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.4131, allocations: 15.98 kB / 438.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.38e-05/0.4132, allocations: 56.05 kB / 438.5 MB, free: 14.51 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.0003738/0.4135, allocations: 366.7 kB / 438.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.4136, allocations: 39.77 kB / 438.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.4137, allocations: 67.14 kB / 439 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.4137, allocations: 0 / 439 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4137, allocations: 0 / 439 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4137, allocations: 8 kB / 439 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.4148, allocations: 0.8207 MB / 439.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.4148, allocations: 0 / 439.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-06/0.4148, allocations: 0 / 439.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4148, allocations: 4 kB / 439.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.4148, allocations: 12 kB / 439.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.4148, allocations: 3.984 kB / 439.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4148, allocations: 7.938 kB / 439.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.4155, allocations: 0.5332 MB / 440.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.4159, allocations: 252.6 kB / 440.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.4159, allocations: 12 kB / 440.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.416, allocations: 8 kB / 440.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.4162, allocations: 31.91 kB / 440.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.949e-05/0.4162, allocations: 56.06 kB / 440.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004791/0.4167, allocations: 386.9 kB / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4167, allocations: 0 / 441.1 MB, free: 11.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.417, allocations: 44 kB / 441.1 MB, free: 11.71 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.0001589/0.4171, allocations: 117.9 kB / 441.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005302/0.4177, allocations: 385.5 kB / 441.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4177, allocations: 0 / 441.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.418, allocations: 301.6 kB / 441.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005839/0.4186, allocations: 123.6 kB / 442 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.4197, allocations: 0.6688 MB / 442.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004952/0.4202, allocations: 0.7983 MB / 443.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.4202, allocations: 8.656 kB / 443.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.278e-05/0.4203, allocations: 11.44 kB / 443.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4203, allocations: 3.938 kB / 443.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of Templates: time 0.009019/0.4293, allocations: 4.719 MB / 448.2 MB, free: 4.371 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.733033316209912]