Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.001364/0.001364, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001699/0.001699, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 273.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.545e-05, allocations: 2.312 kB / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002366/0.002391, allocations: 1.571 MB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.003845, allocations: 0.8652 MB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.017e-05/0.003895, allocations: 0 / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.547e-05/0.003991, allocations: 11.86 kB / 275.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.004074, allocations: 23.81 kB / 276 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.004345, allocations: 51.88 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.004523, allocations: 131.7 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.004616, allocations: 16.16 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004703/0.005086, allocations: 0.5381 MB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.005206, allocations: 59.81 kB / 276.8 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.005329, allocations: 12 kB / 276.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.005348, allocations: 8 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.005414, allocations: 63.78 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.00548, allocations: 67.66 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.005725, allocations: 279 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.005729, allocations: 11.92 kB / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.005731, allocations: 0 / 277.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.005736, allocations: 0 / 277.2 MB, free: 13.43 MB / 266.7 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.0004712/0.006207, allocations: 0.607 MB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.006242, allocations: 12.02 kB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.937e-05/0.006291, allocations: 28.92 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.006464, allocations: 216 kB / 278 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.006482, allocations: 8.359 kB / 278 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.006499, allocations: 12.38 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.006745, allocations: 225.7 kB / 278.3 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.006753, allocations: 4.188 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.006767, allocations: 4.375 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.006778, allocations: 11.92 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.006865, allocations: 142.8 kB / 278.4 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.00718, allocations: 220.1 kB / 278.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.007314, allocations: 161.4 kB / 278.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.0074, allocations: 163.6 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.007406, allocations: 4 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.007609, allocations: 301.4 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.205e-06/0.007611, allocations: 0 / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003501/0.007961, allocations: 0.5176 MB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.008023, allocations: 170.2 kB / 280 MB, free: 10.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.008316, allocations: 355.2 kB / 280.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.008344, allocations: 33.69 kB / 280.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.00839, allocations: 93.08 kB / 280.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.00843, allocations: 35.83 kB / 280.5 MB, free: 9.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.008527, allocations: 73.5 kB / 280.5 MB, free: 9.672 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.493e-05/0.008622, allocations: 322.8 kB / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.008741, allocations: 150.8 kB / 281 MB, free: 9.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.008848, allocations: 163.9 kB / 281.2 MB, free: 8.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.009006, allocations: 319.1 kB / 281.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.00901, allocations: 3.984 kB / 281.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002151/0.009225, allocations: 347.2 kB / 281.8 MB, free: 8.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.815e-05/0.009293, allocations: 134.7 kB / 281.9 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.009299, allocations: 4.031 kB / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.009313, allocations: 0 / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.607e-05/0.009329, allocations: 0 / 281.9 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.009333, allocations: 4 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.009404, allocations: 8.109 kB / 282 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.009447, allocations: 55.86 kB / 282 MB, free: 8 MB / 266.7 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.0002651/0.009713, allocations: 353.5 kB / 282.4 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.009768, allocations: 39.91 kB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.009885, allocations: 55.06 kB / 282.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.009888, allocations: 0 / 282.5 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.009891, allocations: 4 kB / 282.5 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.009894, allocations: 0 / 282.5 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.01035, allocations: 0.5978 MB / 283.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01035, allocations: 0 / 283.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-06/0.01036, allocations: 0 / 283.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.01037, allocations: 11.92 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.01038, allocations: 4 kB / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.01038, allocations: 0 / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.01039, allocations: 0 / 283.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.01076, allocations: 493 kB / 283.5 MB, free: 6.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.01093, allocations: 139.5 kB / 283.7 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.01097, allocations: 8 kB / 283.7 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.01104, allocations: 11.98 kB / 283.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.0111, allocations: 23.97 kB / 283.7 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.766e-05/0.01114, allocations: 55.98 kB / 283.8 MB, free: 6.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.01128, allocations: 152.6 kB / 283.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01128, allocations: 0 / 283.9 MB, free: 5.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.01151, allocations: 44 kB / 284 MB, free: 5.867 MB / 266.7 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.0001279/0.01164, allocations: 100.3 kB / 284.1 MB, free: 5.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.01196, allocations: 0.5624 MB / 284.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01196, allocations: 4 kB / 284.6 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.01214, allocations: 400.1 kB / 285 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.01248, allocations: 126.6 kB / 285.2 MB, free: 4.508 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.01323, allocations: 0.7301 MB / 285.9 MB, free: 3.727 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.464e-05/0.0133, allocations: 104 kB / 286 MB, free: 3.605 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.01333, allocations: 8.719 kB / 286 MB, free: 3.598 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.01357, allocations: 175.3 kB / 286.2 MB, free: 3.426 MB / 266.7 MB Notification: Performance of SimCode: time 1.353e-06/0.01357, allocations: 0 / 286.2 MB, free: 3.426 MB / 266.7 MB Notification: Performance of Templates: time 0.1142/0.1278, allocations: 4.615 MB / 290.8 MB, free: 26.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.59408357180655]