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.0007949/0.0007949, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.001813, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0008267/0.0008267, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009664/0.001793, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9182/0.9182, allocations: 173.4 MB / 185.8 MB, free: 9.008 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08041/0.9986, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.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.333e-06/1.333e-06, allocations: 0 / 239.6 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.279e-05, allocations: 2.875 kB / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001606/0.001619, allocations: 1.55 MB / 241.1 MB, free: 1.625 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.002833, allocations: 0.8824 MB / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.002874, allocations: 0 / 242 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.411e-05/0.002938, allocations: 11.86 kB / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.002987, allocations: 23.86 kB / 242 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.003132, allocations: 55.81 kB / 242.1 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.003285, allocations: 127.7 kB / 242.2 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.786e-05/0.003353, allocations: 16.22 kB / 242.2 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.003766, allocations: 0.5459 MB / 242.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.003867, allocations: 67.75 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.003897, allocations: 12 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.867e-05/0.003915, allocations: 8 kB / 242.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.003972, allocations: 63.78 kB / 242.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.004026, allocations: 47.81 kB / 243 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.00422, allocations: 267 kB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.004233, allocations: 0 / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004233, allocations: 4 kB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.004248, allocations: 0 / 243.2 MB, free: 15.5 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.0004987/0.004747, allocations: 0.6535 MB / 243.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.48e-05/0.004771, allocations: 8.031 kB / 243.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.00482, allocations: 28.91 kB / 243.9 MB, free: 14.76 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.004979, allocations: 220 kB / 244.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.004994, allocations: 12.3 kB / 244.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.005011, allocations: 8.375 kB / 244.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.005242, allocations: 241.6 kB / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.005249, allocations: 192 / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.005263, allocations: 4.375 kB / 244.4 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.005267, allocations: 3.938 kB / 244.4 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.007e-05/0.005347, allocations: 158.8 kB / 244.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/0.005587, allocations: 208.2 kB / 244.8 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.005701, allocations: 177.3 kB / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/0.005781, allocations: 155.7 kB / 245.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.005786, allocations: 8 kB / 245.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.005956, allocations: 312.3 kB / 245.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 8.72e-07/0.005957, allocations: 0 / 245.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003148/0.006271, allocations: 0.5253 MB / 245.9 MB, free: 12.47 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.006305, allocations: 89.09 kB / 246 MB, free: 12.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002649/0.00657, allocations: 359.2 kB / 246.4 MB, free: 12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.006587, allocations: 25.7 kB / 246.4 MB, free: 11.97 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.006621, allocations: 97.11 kB / 246.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.006648, allocations: 35.73 kB / 246.5 MB, free: 11.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.006712, allocations: 73.53 kB / 246.6 MB, free: 11.76 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.006777, allocations: 322.8 kB / 246.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.006854, allocations: 158.8 kB / 247 MB, free: 11.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.006934, allocations: 168.4 kB / 247.2 MB, free: 11.06 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.007079, allocations: 327.1 kB / 247.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007082, allocations: 0 / 247.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001885/0.00727, allocations: 370.6 kB / 247.9 MB, free: 10.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.007327, allocations: 130.7 kB / 248 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.007331, allocations: 32 / 248 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.007338, allocations: 4 kB / 248 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.692e-05/0.007355, allocations: 4 kB / 248 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.007358, allocations: 3.984 kB / 248 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.007431, allocations: 12.08 kB / 248 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.007471, allocations: 56 kB / 248.1 MB, free: 10.04 MB / 250.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.0002059/0.007677, allocations: 341.2 kB / 248.4 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.007707, allocations: 40.02 kB / 248.5 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.007776, allocations: 55.03 kB / 248.5 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007778, allocations: 0 / 248.5 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.007779, allocations: 4 kB / 248.5 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007782, allocations: 3.984 kB / 248.5 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.008139, allocations: 0.5978 MB / 249.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00814, allocations: 0 / 249.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-06/0.008144, allocations: 0 / 249.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.008305, allocations: 135.4 kB / 249.3 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.008306, allocations: 0 / 249.3 MB, free: 8.762 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.008322, allocations: 15.98 kB / 249.3 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008323, allocations: 0 / 249.3 MB, free: 8.746 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.008323, allocations: 3.938 kB / 249.3 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.008594, allocations: 0.497 MB / 249.8 MB, free: 8.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.124e-05/0.008626, allocations: 8 kB / 249.8 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.797e-05/0.008694, allocations: 12 kB / 249.8 MB, free: 8.16 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.008747, allocations: 15.97 kB / 249.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.008781, allocations: 55.94 kB / 249.9 MB, free: 8.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001304/0.008912, allocations: 156.6 kB / 250 MB, free: 7.938 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008912, allocations: 0 / 250 MB, free: 7.938 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001496/0.009062, allocations: 44 kB / 250.1 MB, free: 7.895 MB / 250.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 7.765e-05/0.009139, allocations: 107.2 kB / 250.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002891/0.009428, allocations: 0.5703 MB / 250.7 MB, free: 7.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.009434, allocations: 8 kB / 250.7 MB, free: 7.105 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001827/0.009617, allocations: 416 kB / 251.2 MB, free: 6.621 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.009912, allocations: 141.6 kB / 251.3 MB, free: 6.496 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.01068, allocations: 0.738 MB / 252 MB, free: 5.699 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.16e-05/0.01075, allocations: 99.2 kB / 252.1 MB, free: 5.582 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.575e-05/0.01077, allocations: 8.703 kB / 252.1 MB, free: 5.574 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.011, allocations: 171.3 kB / 252.3 MB, free: 5.406 MB / 250.7 MB Notification: Performance of SimCode: time 6.12e-07/0.011, allocations: 0 / 252.3 MB, free: 5.406 MB / 250.7 MB Notification: Performance of Templates: time 0.005118/0.01612, allocations: 4.647 MB / 257 MB, free: 0.7305 MB / 250.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 -ignoreHideResult -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.5789231043308973]