Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 83.89 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9916/0.9916, allocations: 173.4 MB / 201.1 MB, free: 9.008 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 268 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.163e-05, allocations: 2.312 kB / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002124/0.002146, allocations: 1.514 MB / 269.5 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.003859, allocations: 0.8341 MB / 270.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.003927, allocations: 0 / 270.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.004049, allocations: 11.86 kB / 270.4 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/0.004138, allocations: 15.86 kB / 270.4 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.00443, allocations: 55.81 kB / 270.4 MB, free: 3.855 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.004612, allocations: 131.7 kB / 270.6 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.004714, allocations: 16.2 kB / 270.6 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.005216, allocations: 0.6044 MB / 271.2 MB, free: 3.102 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.005353, allocations: 63.81 kB / 271.2 MB, free: 3.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.976e-05/0.005393, allocations: 12 kB / 271.2 MB, free: 3.027 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.595e-05/0.005419, allocations: 8 kB / 271.3 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.005492, allocations: 63.77 kB / 271.3 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.005567, allocations: 55.73 kB / 271.4 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.005829, allocations: 286.9 kB / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.005833, allocations: 0 / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.005835, allocations: 4 kB / 271.7 MB, free: 2.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.005842, allocations: 0 / 271.7 MB, free: 2.617 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.0007149/0.006557, allocations: 0.7747 MB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.006602, allocations: 16.91 kB / 272.4 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.682e-05/0.006689, allocations: 48.7 kB / 272.5 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.006938, allocations: 218.8 kB / 272.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.006963, allocations: 8.375 kB / 272.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.006984, allocations: 8.375 kB / 272.7 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.007344, allocations: 249.7 kB / 273 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.007354, allocations: 192 / 273 MB, free: 1.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.007374, allocations: 4.375 kB / 273 MB, free: 1.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.007386, allocations: 7.938 kB / 273 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.007512, allocations: 170.8 kB / 273.1 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.008093, allocations: 499.4 kB / 273.6 MB, free: 468 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.008264, allocations: 189.8 kB / 273.8 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.008378, allocations: 178.5 kB / 274 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.008388, allocations: 4.047 kB / 274 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.008627, allocations: 331 kB / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.008628, allocations: 0 / 274.3 MB, free: 15.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006417/0.00927, allocations: 0.6854 MB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.009355, allocations: 170.2 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.009952, allocations: 0.6272 MB / 275.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.009976, allocations: 25.7 kB / 275.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.01005, allocations: 151.9 kB / 276 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.01008, allocations: 27.75 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/0.01017, allocations: 87.2 kB / 276.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.0103, allocations: 0.4962 MB / 276.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.01042, allocations: 158.8 kB / 276.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01054, allocations: 190.1 kB / 276.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.01074, allocations: 348.8 kB / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01074, allocations: 0 / 277.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003834/0.01112, allocations: 499 kB / 277.8 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.233e-05/0.0112, allocations: 130.8 kB / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.01121, allocations: 0 / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01122, allocations: 0 / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.556e-05/0.01125, allocations: 0 / 277.9 MB, free: 11.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.01126, allocations: 4.125 kB / 277.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01137, allocations: 12 kB / 277.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.01143, allocations: 55.98 kB / 278 MB, free: 11.67 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.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.0002884/0.01172, allocations: 393.3 kB / 278.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.01177, allocations: 51.7 kB / 278.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.011e-05/0.01185, allocations: 55.08 kB / 278.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01185, allocations: 0 / 278.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01185, allocations: 4 kB / 278.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.01186, allocations: 0 / 278.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/0.01265, allocations: 0.9517 MB / 279.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01265, allocations: 0 / 279.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-06/0.01266, allocations: 0 / 279.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01266, allocations: 0 / 279.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.01268, allocations: 19.98 kB / 279.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01268, allocations: 0 / 279.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01268, allocations: 0 / 279.4 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.01316, allocations: 0.7081 MB / 280.1 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.01337, allocations: 181.4 kB / 280.3 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.01341, allocations: 12 kB / 280.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.01349, allocations: 11.98 kB / 280.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.01358, allocations: 23.97 kB / 280.3 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.01363, allocations: 59.94 kB / 280.4 MB, free: 9.008 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003563/0.01398, allocations: 430.7 kB / 280.8 MB, free: 8.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01398, allocations: 4 kB / 280.8 MB, free: 8.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.01418, allocations: 40 kB / 280.9 MB, free: 8.547 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,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.0001194/0.0143, allocations: 122.1 kB / 281 MB, free: 8.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.01472, allocations: 0.5964 MB / 281.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01472, allocations: 0 / 281.6 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.01493, allocations: 424.1 kB / 282 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.01534, allocations: 134 kB / 282.1 MB, free: 7.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/0.01617, allocations: 0.7525 MB / 282.9 MB, free: 6.305 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.086e-05/0.01626, allocations: 99.2 kB / 283 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.414e-05/0.0163, allocations: 16.69 kB / 283 MB, free: 6.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.01633, allocations: 12.5 kB / 283 MB, free: 6.16 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01633, allocations: 0 / 283 MB, free: 6.16 MB / 266.7 MB Notification: Performance of Templates: time 0.006895/0.02322, allocations: 5.225 MB / 288.2 MB, free: 0.8984 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.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.837402194738388]