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.001266/0.001266, 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.001534/0.001534, 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.897/0.897, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.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 1.423e-06/1.423e-06, allocations: 0 / 273.5 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.884e-05, allocations: 2.312 kB / 273.5 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00248/0.002499, allocations: 1.52 MB / 275 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.004541, allocations: 0.8547 MB / 275.8 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.004598, allocations: 8.938 kB / 275.8 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.0047, allocations: 11.86 kB / 275.8 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.00479, allocations: 16.61 kB / 275.9 MB, free: 2.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.00505, allocations: 51.81 kB / 275.9 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.005254, allocations: 136.2 kB / 276 MB, free: 1.836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.005339, allocations: 17.16 kB / 276.1 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/0.006028, allocations: 0.5381 MB / 276.6 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.006168, allocations: 63.81 kB / 276.7 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.006206, allocations: 8.625 kB / 276.7 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.892e-05/0.006235, allocations: 14.41 kB / 276.7 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.457e-05/0.006319, allocations: 71.7 kB / 276.8 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.006406, allocations: 51.73 kB / 276.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.00672, allocations: 279 kB / 277.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.006723, allocations: 0 / 277.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006723, allocations: 0 / 277.1 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.006729, allocations: 0 / 277.1 MB, free: 0.8008 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.0006785/0.007407, allocations: 0.6278 MB / 277.7 MB, free: 128 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.007441, allocations: 8.031 kB / 277.7 MB, free: 120 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.566e-05/0.007516, allocations: 32.91 kB / 277.7 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.007757, allocations: 212 kB / 278 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.007782, allocations: 9.219 kB / 278 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.007811, allocations: 12.38 kB / 278 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.00811, allocations: 234.3 kB / 278.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.008118, allocations: 4.188 kB / 278.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.008138, allocations: 4.375 kB / 278.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.008145, allocations: 3.938 kB / 278.2 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.008273, allocations: 146.8 kB / 278.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.008633, allocations: 216.2 kB / 278.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.008765, allocations: 165.4 kB / 278.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.008844, allocations: 147.7 kB / 278.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/0.008851, allocations: 7.938 kB / 278.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.009026, allocations: 309.4 kB / 279.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.009027, allocations: 0 / 279.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003122/0.009339, allocations: 0.5099 MB / 279.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.009398, allocations: 170.1 kB / 279.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.009676, allocations: 363.2 kB / 280.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.009696, allocations: 29.7 kB / 280.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.009732, allocations: 97.06 kB / 280.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.009758, allocations: 31.78 kB / 280.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.009826, allocations: 69.53 kB / 280.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.009897, allocations: 322.8 kB / 280.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.8e-05/0.009975, allocations: 150.8 kB / 280.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.01006, allocations: 168.6 kB / 281.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.01021, allocations: 318.8 kB / 281.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01021, allocations: 0 / 281.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001967/0.01041, allocations: 355.2 kB / 281.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/0.01047, allocations: 126.7 kB / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.01047, allocations: 0 / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.01048, allocations: 4 kB / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.466e-05/0.01049, allocations: 4.031 kB / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-06/0.0105, allocations: 0 / 281.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.01057, allocations: 15.94 kB / 281.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.01061, allocations: 55.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.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.0002085/0.01082, allocations: 345.4 kB / 282.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.01085, allocations: 35.91 kB / 282.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.01093, allocations: 63.02 kB / 282.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01093, allocations: 0 / 282.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.01093, allocations: 0 / 282.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.01093, allocations: 0 / 282.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.01129, allocations: 0.5979 MB / 283 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01129, allocations: 0 / 283 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-06/0.01129, allocations: 0 / 283 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.0113, allocations: 3.938 kB / 283 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01131, allocations: 11.98 kB / 283 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.01131, allocations: 4 kB / 283 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01131, allocations: 0 / 283 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.01154, allocations: 493 kB / 283.5 MB, free: 9.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.01171, allocations: 143.4 kB / 283.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.01174, allocations: 8 kB / 283.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-05/0.01181, allocations: 16 kB / 283.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.231e-05/0.01186, allocations: 15.97 kB / 283.6 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.0119, allocations: 52 kB / 283.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.01203, allocations: 156.6 kB / 283.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01203, allocations: 0 / 283.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.01218, allocations: 44 kB / 283.9 MB, free: 9.223 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 8.166e-05/0.01226, allocations: 91.42 kB / 284 MB, free: 9.125 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.01255, allocations: 0.5585 MB / 284.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.01256, allocations: 8.062 kB / 284.5 MB, free: 8.457 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.01273, allocations: 408 kB / 284.9 MB, free: 7.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.013, allocations: 123.1 kB / 285.1 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.01364, allocations: 0.7303 MB / 285.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.365e-05/0.01371, allocations: 99.12 kB / 285.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.266e-05/0.01373, allocations: 4.734 kB / 285.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.01396, allocations: 175.2 kB / 286.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01396, allocations: 4 kB / 286.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of Templates: time 0.005096/0.01905, allocations: 4.63 MB / 290.7 MB, free: 2.141 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.598280844744295]