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.005849/0.005849, allocations: 108.5 kB / 21.97 MB, free: 5.184 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.001571/0.001571, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.418/1.418, allocations: 230.6 MB / 259 MB, free: 8.035 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.001942/0.001942, allocations: 67.89 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2534, allocations: 53.36 MB / 433.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002819/0.2563, allocations: 1.537 MB / 434.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.2583, allocations: 0.8965 MB / 435.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.2583, allocations: 0 / 435.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.47e-05/0.2584, allocations: 11.86 kB / 435.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.517e-05/0.2585, allocations: 23.84 kB / 435.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.2588, allocations: 51.89 kB / 435.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.259, allocations: 131.7 kB / 435.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.2591, allocations: 16.17 kB / 435.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006545/0.2597, allocations: 0.5771 MB / 436.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.2599, allocations: 75.75 kB / 436.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.394e-05/0.2599, allocations: 8 kB / 436.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.091e-05/0.26, allocations: 15.94 kB / 436.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.2601, allocations: 63.7 kB / 436.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.2602, allocations: 115.2 kB / 436.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004209/0.2606, allocations: 371.7 kB / 437 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2606, allocations: 4 kB / 437 MB, free: 3.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2606, allocations: 0 / 437 MB, free: 3.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2606, allocations: 0 / 437 MB, free: 3.102 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.0008059/0.2614, allocations: 0.6552 MB / 437.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2615, allocations: 8.031 kB / 437.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.179e-05/0.2615, allocations: 36.7 kB / 437.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.2618, allocations: 220.8 kB / 438 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.2619, allocations: 4.375 kB / 438 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.2619, allocations: 12.38 kB / 438 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.2622, allocations: 141.8 kB / 438.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2622, allocations: 0 / 438.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.2622, allocations: 4 kB / 438.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.2622, allocations: 0 / 438.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.2624, allocations: 59.95 kB / 438.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.2631, allocations: 431.6 kB / 438.6 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.2633, allocations: 70.55 kB / 438.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.2634, allocations: 64.89 kB / 438.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2634, allocations: 4 kB / 438.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003783/0.2638, allocations: 202.8 kB / 438.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.2638, allocations: 0 / 438.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008604/0.2646, allocations: 480.1 kB / 439.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.2648, allocations: 170.2 kB / 439.6 MB, free: 352 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/0.2655, allocations: 0.5091 MB / 440.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.2655, allocations: 29.7 kB / 440.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.131e-05/0.2656, allocations: 112.9 kB / 440.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.2656, allocations: 31.73 kB / 440.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/0.2658, allocations: 81.55 kB / 440.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.2659, allocations: 326.8 kB / 440.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.2661, allocations: 59.97 kB / 440.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.2662, allocations: 69.75 kB / 440.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.2666, allocations: 349.8 kB / 441.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2666, allocations: 0 / 441.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005902/0.2672, allocations: 392.2 kB / 441.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/0.2673, allocations: 122.8 kB / 441.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2673, allocations: 0 / 441.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2673, allocations: 0 / 441.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.96e-05/0.2673, allocations: 0 / 441.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.2673, allocations: 4 kB / 441.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.2675, allocations: 20.12 kB / 441.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.2675, allocations: 59.88 kB / 441.7 MB, free: 14.06 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.0003927/0.2679, allocations: 370.4 kB / 442.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.268, allocations: 39.77 kB / 442.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2681, allocations: 67.08 kB / 442.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2681, allocations: 4 kB / 442.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2681, allocations: 0 / 442.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2681, allocations: 0 / 442.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.2692, allocations: 0.7891 MB / 443 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2692, allocations: 0 / 443 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.2692, allocations: 0 / 443 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2692, allocations: 0 / 443 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.2692, allocations: 16 kB / 443 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2692, allocations: 0 / 443 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2692, allocations: 3.938 kB / 443 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007099/0.2699, allocations: 0.5366 MB / 443.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.2703, allocations: 209.4 kB / 443.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.972e-05/0.2704, allocations: 16.17 kB / 443.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.2705, allocations: 12 kB / 443.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.2706, allocations: 31.91 kB / 443.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.57e-05/0.2707, allocations: 52 kB / 443.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004975/0.2712, allocations: 390.9 kB / 444.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2712, allocations: 0 / 444.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.2715, allocations: 47.94 kB / 444.3 MB, free: 11.36 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.0001375/0.2716, allocations: 113.9 kB / 444.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000527/0.2721, allocations: 373.5 kB / 444.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2721, allocations: 0 / 444.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.2724, allocations: 305.6 kB / 445 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.273, allocations: 119.5 kB / 445.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2742, allocations: 0.6963 MB / 445.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005306/0.2747, allocations: 0.8022 MB / 446.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.2747, allocations: 11.44 kB / 446.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2747, allocations: 7.875 kB / 446.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of Templates: time 0.00482/0.2796, allocations: 2.669 MB / 449.3 MB, free: 6.07 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.659912501927465]