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.001305/0.001305, 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.001564/0.001564, allocations: 169 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 0.8893/0.8893, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.132e-06/1.132e-06, allocations: 0 / 273.4 MB, free: 4.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.808e-05, allocations: 2.312 kB / 273.5 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.005831/0.005849, allocations: 1.521 MB / 275 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.007109, allocations: 0.8591 MB / 275.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.007153, allocations: 3.938 kB / 275.8 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.307e-05/0.007236, allocations: 12.42 kB / 275.8 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.685e-05/0.007302, allocations: 20.78 kB / 275.9 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.007511, allocations: 47.83 kB / 275.9 MB, free: 1.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.007659, allocations: 136.3 kB / 276 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.722e-05/0.007726, allocations: 14.7 kB / 276.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000463/0.008189, allocations: 0.542 MB / 276.6 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.008325, allocations: 67.81 kB / 276.7 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.00836, allocations: 8 kB / 276.7 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.577e-05/0.008386, allocations: 12 kB / 276.7 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.417e-05/0.00846, allocations: 67.66 kB / 276.8 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.595e-05/0.008546, allocations: 51.78 kB / 276.8 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.008826, allocations: 284.8 kB / 277.1 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.008828, allocations: 0 / 277.1 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.00883, allocations: 0 / 277.1 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.008833, allocations: 0 / 277.1 MB, free: 0.8047 MB / 250.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.0005731/0.009406, allocations: 0.6225 MB / 277.7 MB, free: 136 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.009438, allocations: 8.625 kB / 277.7 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.009508, allocations: 33.56 kB / 277.7 MB, free: 96 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.009735, allocations: 216 kB / 278 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.009759, allocations: 12.38 kB / 278 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.009784, allocations: 8.375 kB / 278 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.01017, allocations: 229.7 kB / 278.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.01017, allocations: 192 / 278.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.01019, allocations: 4.375 kB / 278.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.0102, allocations: 3.938 kB / 278.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.01032, allocations: 154.7 kB / 278.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.01067, allocations: 208.2 kB / 278.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.01083, allocations: 173.3 kB / 278.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.01093, allocations: 155.7 kB / 278.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.513e-06/0.01094, allocations: 4 kB / 278.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.01116, allocations: 297.4 kB / 279.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.01116, allocations: 0 / 279.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004262/0.01158, allocations: 0.5137 MB / 279.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.01165, allocations: 170.2 kB / 279.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.01205, allocations: 363.2 kB / 280.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.01207, allocations: 29.7 kB / 280.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.01212, allocations: 105.1 kB / 280.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.01216, allocations: 27.78 kB / 280.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.785e-05/0.01225, allocations: 69.53 kB / 280.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.01234, allocations: 330.8 kB / 280.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.01246, allocations: 142.7 kB / 280.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.01257, allocations: 164.6 kB / 281.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.01278, allocations: 317.9 kB / 281.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01278, allocations: 0 / 281.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003655/0.01315, allocations: 355.2 kB / 281.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.673e-05/0.01322, allocations: 134.7 kB / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01323, allocations: 0 / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.01324, allocations: 0 / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.083e-05/0.01326, allocations: 4 kB / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.01327, allocations: 0 / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.01338, allocations: 19.94 kB / 281.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.269e-05/0.01344, allocations: 51.94 kB / 281.9 MB, free: 11.36 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.0003011/0.01374, allocations: 345.3 kB / 282.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.0138, allocations: 35.91 kB / 282.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.0139, allocations: 59.08 kB / 282.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.0139, allocations: 4 kB / 282.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.01391, allocations: 0 / 282.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01391, allocations: 0 / 282.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.01445, allocations: 0.59 MB / 283 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.01445, allocations: 0 / 283 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-06/0.01446, allocations: 4.125 kB / 283 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01446, allocations: 3.938 kB / 283 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.01448, allocations: 12 kB / 283 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01449, allocations: 0 / 283 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.01449, allocations: 7.984 kB / 283 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.01484, allocations: 0.4886 MB / 283.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/0.0151, allocations: 139.4 kB / 283.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.01515, allocations: 12 kB / 283.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.01527, allocations: 8 kB / 283.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.01535, allocations: 11.98 kB / 283.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/0.01541, allocations: 55.98 kB / 283.7 MB, free: 9.422 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002141/0.01562, allocations: 156.6 kB / 283.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01562, allocations: 0 / 283.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.01592, allocations: 44 kB / 283.9 MB, free: 9.23 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.0001231/0.01604, allocations: 100.1 kB / 284 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00039/0.01643, allocations: 0.5547 MB / 284.5 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.01644, allocations: 0 / 284.5 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.01666, allocations: 416 kB / 284.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.01709, allocations: 119.7 kB / 285.1 MB, free: 7.875 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.01802, allocations: 0.738 MB / 285.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.523e-05/0.0181, allocations: 99.19 kB / 285.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.01814, allocations: 8.734 kB / 285.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.01847, allocations: 167.2 kB / 286.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01847, allocations: 4 kB / 286.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of Templates: time 0.007655/0.02613, allocations: 4.629 MB / 290.7 MB, free: 2.148 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 -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.5350460172630847]