Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.001403/0.001403, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001493/0.001493, allocations: 209.5 kB / 23.72 MB, free: 4.391 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.646/1.646, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.91 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2919, allocations: 53.4 MB / 431.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004272/0.2962, allocations: 1.493 MB / 433.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.2997, allocations: 0.8303 MB / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.814e-05/0.2998, allocations: 0 / 434 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.3, allocations: 15.86 kB / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.3001, allocations: 23.84 kB / 434 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.3005, allocations: 51.89 kB / 434 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.3009, allocations: 127.7 kB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.301, allocations: 16.2 kB / 434.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.3021, allocations: 0.5733 MB / 434.8 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.3023, allocations: 71.69 kB / 434.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.3023, allocations: 15.94 kB / 434.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.3024, allocations: 8 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.3025, allocations: 63.77 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.3027, allocations: 83.3 kB / 435 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005196/0.3032, allocations: 376.8 kB / 435.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3032, allocations: 0 / 435.4 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.3032, allocations: 3.938 kB / 435.4 MB, free: 2.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.3032, allocations: 0 / 435.4 MB, free: 2.785 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.0009506/0.3041, allocations: 0.6591 MB / 436 MB, free: 2.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3042, allocations: 11.98 kB / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.3043, allocations: 40.7 kB / 436.1 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3046, allocations: 216.8 kB / 436.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.3046, allocations: 8.375 kB / 436.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.3046, allocations: 4.375 kB / 436.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.305, allocations: 248.7 kB / 436.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3051, allocations: 8 kB / 436.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.3051, allocations: 4 kB / 436.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3051, allocations: 7.984 kB / 436.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.3053, allocations: 178.8 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.3062, allocations: 384.2 kB / 437.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.3065, allocations: 193.3 kB / 437.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.3067, allocations: 183.7 kB / 437.5 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.3067, allocations: 0 / 437.5 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006141/0.3074, allocations: 329.5 kB / 437.8 MB, free: 72 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.3074, allocations: 0 / 437.8 MB, free: 72 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00105/0.3084, allocations: 0.7049 MB / 438.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.3085, allocations: 170.2 kB / 438.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007024/0.3092, allocations: 0.513 MB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.3093, allocations: 29.81 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.3094, allocations: 109 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.3094, allocations: 35.66 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.3096, allocations: 85.55 kB / 439.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3097, allocations: 326.8 kB / 439.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.3099, allocations: 170.8 kB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.3101, allocations: 200.5 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.3105, allocations: 354.8 kB / 440.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.3105, allocations: 4 kB / 440.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006376/0.3112, allocations: 0.503 MB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.3113, allocations: 130.8 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3113, allocations: 0 / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3113, allocations: 4 kB / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.348e-05/0.3113, allocations: 0 / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3113, allocations: 0 / 441.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3115, allocations: 12.03 kB / 441.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.689e-05/0.3115, allocations: 59.92 kB / 441.2 MB, free: 12.36 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0004101/0.3119, allocations: 366.4 kB / 441.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.312, allocations: 39.77 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.3121, allocations: 63.09 kB / 441.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3121, allocations: 0 / 441.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3121, allocations: 0 / 441.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3121, allocations: 0 / 441.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3132, allocations: 0.8666 MB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3132, allocations: 0 / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-06/0.3133, allocations: 4 kB / 442.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.3133, allocations: 4 kB / 442.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3133, allocations: 11.98 kB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3133, allocations: 192 / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/0.3133, allocations: 4 kB / 442.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.3141, allocations: 0.6608 MB / 443.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.3146, allocations: 209.3 kB / 443.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.3146, allocations: 12 kB / 443.4 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3148, allocations: 8 kB / 443.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.3149, allocations: 27.97 kB / 443.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/0.315, allocations: 59.98 kB / 443.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005658/0.3156, allocations: 382.9 kB / 443.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3156, allocations: 0 / 443.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.3159, allocations: 55.88 kB / 443.9 MB, free: 9.422 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001886/0.3161, allocations: 111 kB / 444 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.3168, allocations: 0.6085 MB / 444.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3168, allocations: 0 / 444.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004204/0.3173, allocations: 428.4 kB / 445.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.3179, allocations: 130.4 kB / 445.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.3191, allocations: 0.7693 MB / 446 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3194, allocations: 189.7 kB / 446.1 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.215e-05/0.3194, allocations: 12.59 kB / 446.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.3195, allocations: 15.44 kB / 446.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3195, allocations: 0 / 446.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Templates: time 0.009443/0.3289, allocations: 5.064 MB / 451.2 MB, free: 1.824 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.721924690529704]