Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001565/0.001565, allocations: 116.1 kB / 21.17 MB, free: 0.6133 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.001689/0.001689, allocations: 205.9 kB / 24.47 MB, free: 4.023 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.455/1.455, allocations: 230.4 MB / 258.1 MB, free: 8.156 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") [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.002195/0.002195, allocations: 67.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2931, allocations: 53.32 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002935/0.2961, allocations: 1.53 MB / 433.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.2981, allocations: 0.8965 MB / 434.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.2982, allocations: 0 / 434.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.589e-05/0.2983, allocations: 11.92 kB / 434.5 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.021e-05/0.2984, allocations: 27.78 kB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.2987, allocations: 39.91 kB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.2989, allocations: 123.8 kB / 434.7 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.299, allocations: 20.22 kB / 434.7 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.2997, allocations: 0.577 MB / 435.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.2998, allocations: 75.69 kB / 435.3 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.2999, allocations: 12 kB / 435.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.856e-05/0.2999, allocations: 12 kB / 435.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.3, allocations: 67.7 kB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3002, allocations: 115.2 kB / 435.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004254/0.3006, allocations: 368.4 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3006, allocations: 4 kB / 435.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.521e-06/0.3006, allocations: 3.984 kB / 435.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3006, allocations: 3.938 kB / 435.9 MB, free: 3.512 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.000895/0.3015, allocations: 0.7344 MB / 436.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3015, allocations: 8.031 kB / 436.7 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.34e-05/0.3016, allocations: 44.7 kB / 436.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.302, allocations: 274.7 kB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.302, allocations: 8.375 kB / 437 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.302, allocations: 8.375 kB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.3024, allocations: 133.9 kB / 437.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3024, allocations: 3.938 kB / 437.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3024, allocations: 4 kB / 437.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3024, allocations: 0 / 437.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.3025, allocations: 63.95 kB / 437.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.3033, allocations: 464.6 kB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3035, allocations: 74.48 kB / 437.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.3036, allocations: 64.88 kB / 437.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.3036, allocations: 0 / 437.8 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003963/0.304, allocations: 205.4 kB / 438 MB, free: 1.246 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.304, allocations: 4 kB / 438 MB, free: 1.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008544/0.3049, allocations: 484.1 kB / 438.5 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.305, allocations: 170.2 kB / 438.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/0.3057, allocations: 0.5052 MB / 439.1 MB, free: 16 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/0.3057, allocations: 33.7 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.263e-05/0.3058, allocations: 105.1 kB / 439.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.3059, allocations: 27.8 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.306, allocations: 85.55 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3061, allocations: 326.9 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3063, allocations: 63.89 kB / 439.7 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3064, allocations: 77.62 kB / 439.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003654/0.3068, allocations: 339.3 kB / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3068, allocations: 0 / 440.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005522/0.3073, allocations: 390.5 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.726e-05/0.3074, allocations: 133.8 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3074, allocations: 4.031 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3074, allocations: 4 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-05/0.3075, allocations: 0 / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3075, allocations: 0 / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.3076, allocations: 15.97 kB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.3077, allocations: 55.94 kB / 440.7 MB, free: 14.25 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.0003613/0.308, allocations: 366.7 kB / 441.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.3081, allocations: 39.77 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.3082, allocations: 67.16 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3082, allocations: 3.984 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3082, allocations: 3.938 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3082, allocations: 4 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.3092, allocations: 0.8212 MB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3092, allocations: 0 / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-06/0.3092, allocations: 192 / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3092, allocations: 4 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.3093, allocations: 12 kB / 442.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3093, allocations: 0 / 442.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3093, allocations: 11.94 kB / 442.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.31, allocations: 0.5371 MB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.3103, allocations: 240.6 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.767e-05/0.3104, allocations: 12 kB / 442.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.3105, allocations: 11.98 kB / 442.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3106, allocations: 31.91 kB / 442.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.479e-05/0.3107, allocations: 59.94 kB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000482/0.3112, allocations: 390.9 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3112, allocations: 3.938 kB / 443.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3114, allocations: 44 kB / 443.4 MB, free: 11.45 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.000155/0.3116, allocations: 111 kB / 443.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005463/0.3121, allocations: 381.5 kB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3121, allocations: 0 / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.3124, allocations: 301.6 kB / 444.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.3131, allocations: 122 kB / 444.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3143, allocations: 0.7016 MB / 445 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.3148, allocations: 0.8022 MB / 445.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.3148, allocations: 11.44 kB / 445.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3148, allocations: 0 / 445.8 MB, free: 8.875 MB / 350.1 MB Notification: Performance of Templates: time 0.004949/0.3198, allocations: 2.697 MB / 448.5 MB, free: 6.129 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.354459092952311]