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.001996/0.001996, allocations: 92.62 kB / 20.96 MB, free: 3.469 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.002214/0.002214, allocations: 145.5 kB / 24.25 MB, free: 184 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 1.57/1.57, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] 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 6.291e-06/6.291e-06, allocations: 3.984 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.795e-05/4.424e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00271/0.002755, allocations: 1.465 MB / 268.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.004874, allocations: 0.8186 MB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.004944, allocations: 0 / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.005104, allocations: 15.86 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.005214, allocations: 15.86 kB / 269.6 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.005603, allocations: 51.83 kB / 269.7 MB, free: 4.332 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.005843, allocations: 131.7 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005961, allocations: 16.22 kB / 269.8 MB, free: 4.184 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008193/0.006781, allocations: 0.6004 MB / 270.4 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.006942, allocations: 67.8 kB / 270.5 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.006988, allocations: 12 kB / 270.5 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.332e-05/0.007021, allocations: 11.94 kB / 270.5 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.007123, allocations: 63.78 kB / 270.6 MB, free: 3.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.007238, allocations: 59.72 kB / 270.7 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.007716, allocations: 370.8 kB / 271 MB, free: 3.008 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.00772, allocations: 0 / 271 MB, free: 3.008 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.007721, allocations: 0 / 271 MB, free: 3.008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.007726, allocations: 0 / 271 MB, free: 3.008 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.0008998/0.008626, allocations: 0.6553 MB / 271.7 MB, free: 2.297 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.00867, allocations: 8.922 kB / 271.7 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.008786, allocations: 48.7 kB / 271.7 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.009121, allocations: 227.9 kB / 271.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.009148, allocations: 8.359 kB / 272 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.00918, allocations: 12.38 kB / 272 MB, free: 1.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004322/0.009612, allocations: 241 kB / 272.2 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.009621, allocations: 192 / 272.2 MB, free: 1.707 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.009647, allocations: 4.375 kB / 272.2 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.009655, allocations: 3.938 kB / 272.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.009917, allocations: 182.7 kB / 272.4 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.01066, allocations: 376.4 kB / 272.8 MB, free: 1.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.01096, allocations: 197.3 kB / 273 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.01121, allocations: 183.7 kB / 273.1 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.01123, allocations: 3.938 kB / 273.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005489/0.01177, allocations: 340.3 kB / 273.5 MB, free: 288 kB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.01178, allocations: 0 / 273.5 MB, free: 288 kB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.001176/0.01295, allocations: 0.7049 MB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.01308, allocations: 174.2 kB / 274.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007511/0.01383, allocations: 0.5168 MB / 274.9 MB, free: 14.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.01387, allocations: 33.7 kB / 274.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.01396, allocations: 101.1 kB / 275 MB, free: 14.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.01401, allocations: 27.75 kB / 275 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.01413, allocations: 81.55 kB / 275.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.01431, allocations: 322.8 kB / 275.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.01455, allocations: 178.8 kB / 275.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.01481, allocations: 200.4 kB / 275.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.01524, allocations: 355.3 kB / 276.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01524, allocations: 0 / 276.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007639/0.01601, allocations: 0.5222 MB / 276.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.01612, allocations: 126.9 kB / 276.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01613, allocations: 3.938 kB / 276.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.01615, allocations: 0 / 276.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.36e-05/0.01618, allocations: 0 / 276.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.01619, allocations: 4 kB / 276.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.01633, allocations: 12 kB / 276.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/0.01642, allocations: 55.98 kB / 276.8 MB, free: 12.56 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.0004511/0.01687, allocations: 362.6 kB / 277.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.01695, allocations: 51.7 kB / 277.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.01708, allocations: 71.12 kB / 277.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01708, allocations: 0 / 277.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.01709, allocations: 0 / 277.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01709, allocations: 0 / 277.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.01841, allocations: 0.8745 MB / 278.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01841, allocations: 0 / 278.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-06/0.01842, allocations: 0 / 278.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01842, allocations: 0 / 278.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.01846, allocations: 15.98 kB / 278.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01846, allocations: 0 / 278.2 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01846, allocations: 3.938 kB / 278.2 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.01943, allocations: 0.6687 MB / 278.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.01986, allocations: 209.3 kB / 279.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.01992, allocations: 12 kB / 279.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.02007, allocations: 8 kB / 279.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.0202, allocations: 27.97 kB / 279.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.02028, allocations: 59.92 kB / 279.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005753/0.02086, allocations: 386.9 kB / 279.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02086, allocations: 0 / 279.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000312/0.02117, allocations: 44 kB / 279.6 MB, free: 9.598 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.0001812/0.02135, allocations: 122.1 kB / 279.7 MB, free: 9.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000792/0.02214, allocations: 0.6124 MB / 280.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02214, allocations: 0 / 280.3 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.02261, allocations: 428.4 kB / 280.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006574/0.02326, allocations: 133.9 kB / 280.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.02464, allocations: 0.7899 MB / 281.7 MB, free: 7.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.02494, allocations: 197.8 kB / 281.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.02498, allocations: 4.734 kB / 281.9 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.02501, allocations: 16.5 kB / 281.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02501, allocations: 0 / 281.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of Templates: time 0.009728/0.03474, allocations: 5.001 MB / 286.9 MB, free: 2.039 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.389940923079848]