Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 258.3 MB, free: 8.051 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 51.92 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2518, allocations: 53.35 MB / 432.4 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00273/0.2545, allocations: 1.53 MB / 433.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.2565, allocations: 0.8965 MB / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.2566, allocations: 0 / 434.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.032e-05/0.2567, allocations: 15.8 kB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.2567, allocations: 15.88 kB / 434.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.257, allocations: 51.88 kB / 434.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.2572, allocations: 139.7 kB / 435 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2573, allocations: 16.2 kB / 435 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.258, allocations: 0.5771 MB / 435.6 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.2582, allocations: 75.73 kB / 435.7 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.2582, allocations: 11.94 kB / 435.7 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.172e-05/0.2582, allocations: 12 kB / 435.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.2583, allocations: 63.7 kB / 435.8 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.2585, allocations: 111.2 kB / 435.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.2589, allocations: 376 kB / 436.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2589, allocations: 0 / 436.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2589, allocations: 0 / 436.3 MB, free: 3.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.2589, allocations: 4 kB / 436.3 MB, free: 3.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.0007905/0.2597, allocations: 0.6513 MB / 436.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2597, allocations: 8.031 kB / 436.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.43e-05/0.2598, allocations: 44.69 kB / 437 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.2601, allocations: 212.8 kB / 437.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.2601, allocations: 8.375 kB / 437.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.2601, allocations: 12.31 kB / 437.2 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.2604, allocations: 136.7 kB / 437.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2604, allocations: 0 / 437.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.2605, allocations: 8 kB / 437.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2605, allocations: 0 / 437.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.2606, allocations: 59.95 kB / 437.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007056/0.2613, allocations: 439.5 kB / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.2615, allocations: 70.55 kB / 437.9 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.2616, allocations: 56.89 kB / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.2617, allocations: 12 kB / 438 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003853/0.262, allocations: 202.8 kB / 438.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.704e-06/0.262, allocations: 0 / 438.2 MB, free: 1.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008331/0.2629, allocations: 476.1 kB / 438.6 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.263, allocations: 170.2 kB / 438.8 MB, free: 452 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.2637, allocations: 0.509 MB / 439.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.2637, allocations: 33.7 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.2638, allocations: 105.1 kB / 439.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.54e-05/0.2638, allocations: 35.72 kB / 439.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.2639, allocations: 81.55 kB / 439.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2641, allocations: 330.8 kB / 439.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2642, allocations: 55.97 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.2644, allocations: 72.5 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.2647, allocations: 347.2 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2647, allocations: 0 / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005632/0.2653, allocations: 391.9 kB / 440.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.2654, allocations: 130.8 kB / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2654, allocations: 0 / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2654, allocations: 128 / 440.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.173e-05/0.2654, allocations: 4 kB / 440.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2654, allocations: 4 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.2656, allocations: 11.98 kB / 440.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.2657, allocations: 59.97 kB / 440.9 MB, free: 14.16 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.0003773/0.266, allocations: 366.5 kB / 441.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.2661, allocations: 43.7 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.2662, allocations: 67.08 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2662, allocations: 4 kB / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2662, allocations: 0 / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2662, allocations: 0 / 441.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.2672, allocations: 0.7852 MB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2672, allocations: 0 / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.19e-06/0.2672, allocations: 4 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.2673, allocations: 3.984 kB / 442.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.2673, allocations: 12 kB / 442.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2673, allocations: 0 / 442.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2673, allocations: 3.938 kB / 442.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006966/0.268, allocations: 0.5371 MB / 442.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.2684, allocations: 205.4 kB / 442.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.2684, allocations: 12 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2686, allocations: 15.98 kB / 443 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.2687, allocations: 31.91 kB / 443 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.2687, allocations: 56 kB / 443.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004891/0.2692, allocations: 386.9 kB / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2692, allocations: 0 / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.2695, allocations: 43.94 kB / 443.5 MB, free: 11.46 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.0001444/0.2697, allocations: 118 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.2702, allocations: 377.5 kB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2702, allocations: 0 / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.2705, allocations: 301.6 kB / 444.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.2711, allocations: 116.5 kB / 444.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2722, allocations: 0.6939 MB / 445.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.2727, allocations: 0.81 MB / 445.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.2728, allocations: 15.38 kB / 445.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2728, allocations: 3.938 kB / 445.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of Templates: time 0.004653/0.2774, allocations: 2.656 MB / 448.5 MB, free: 6.18 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.088656187057495]