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.001551/0.001551, allocations: 116.9 kB / 18.41 MB, free: 4.613 MB / 14.72 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.001638/0.001638, allocations: 190.9 kB / 21.35 MB, free: 1.684 MB / 14.72 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.434/1.434, allocations: 222.9 MB / 247 MB, free: 4.078 MB / 190.1 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 0.001527/0.001527, allocations: 43.92 kB / 358.7 MB, free: 8.207 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1051, allocations: 49.44 MB / 408.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002799/0.1079, allocations: 1.498 MB / 409.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.11, allocations: 0.8459 MB / 410.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.944e-05/0.1101, allocations: 0 / 410.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.1102, allocations: 15.86 kB / 410.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.171e-05/0.1104, allocations: 19.86 kB / 410.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.1107, allocations: 51.88 kB / 410.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1109, allocations: 139.7 kB / 410.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.111, allocations: 24.2 kB / 410.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006484/0.1117, allocations: 0.5654 MB / 411.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1119, allocations: 75.73 kB / 411.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.1119, allocations: 8 kB / 411.3 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.628e-05/0.112, allocations: 8 kB / 411.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1121, allocations: 71.64 kB / 411.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.1122, allocations: 111.2 kB / 411.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004301/0.1127, allocations: 382.3 kB / 411.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1127, allocations: 0 / 411.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1127, allocations: 0 / 411.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.1127, allocations: 0 / 411.9 MB, free: 2.906 MB / 334.1 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.0008621/0.1136, allocations: 0.7344 MB / 412.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1136, allocations: 12.03 kB / 412.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.1137, allocations: 36.7 kB / 412.7 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.114, allocations: 274.7 kB / 412.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.114, allocations: 8.375 kB / 413 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1141, allocations: 16.31 kB / 413 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003305/0.1144, allocations: 129.9 kB / 413.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1144, allocations: 0 / 413.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1145, allocations: 4 kB / 413.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1145, allocations: 3.938 kB / 413.1 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.1146, allocations: 63.97 kB / 413.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007223/0.1154, allocations: 464.5 kB / 413.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1156, allocations: 98.48 kB / 413.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.1157, allocations: 80.89 kB / 413.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.1158, allocations: 0 / 413.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/0.1162, allocations: 206.6 kB / 414 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.1162, allocations: 4 kB / 414 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008595/0.1171, allocations: 484.2 kB / 414.5 MB, free: 92 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1172, allocations: 174.2 kB / 414.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000669/0.1179, allocations: 0.509 MB / 415.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.1179, allocations: 33.7 kB / 415.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.118, allocations: 97.12 kB / 415.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.1181, allocations: 27.81 kB / 415.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.1182, allocations: 85.55 kB / 415.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1183, allocations: 322.8 kB / 415.7 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.1185, allocations: 59.97 kB / 415.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1187, allocations: 81.62 kB / 415.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.119, allocations: 347 kB / 416.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.119, allocations: 0 / 416.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005856/0.1196, allocations: 388.3 kB / 416.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.1197, allocations: 122.8 kB / 416.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1198, allocations: 0 / 416.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1198, allocations: 4 kB / 416.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.239e-05/0.1198, allocations: 8.016 kB / 416.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1198, allocations: 0 / 416.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.12, allocations: 11.94 kB / 416.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.038e-05/0.1201, allocations: 56 kB / 416.8 MB, free: 13.61 MB / 350.1 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.000376/0.1204, allocations: 366.7 kB / 417.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.1205, allocations: 43.75 kB / 417.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.1206, allocations: 63.27 kB / 417.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1206, allocations: 3.938 kB / 417.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.1206, allocations: 4 kB / 417.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1207, allocations: 4 kB / 417.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.1217, allocations: 0.8173 MB / 418.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1218, allocations: 192 / 418.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-06/0.1218, allocations: 7.984 kB / 418.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1218, allocations: 4 kB / 418.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.1218, allocations: 15.98 kB / 418.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1218, allocations: 0 / 418.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.1218, allocations: 7.938 kB / 418.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007121/0.1226, allocations: 0.5371 MB / 418.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.1229, allocations: 244.6 kB / 418.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.123, allocations: 12 kB / 418.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.1231, allocations: 8 kB / 418.9 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.1232, allocations: 27.91 kB / 418.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.1233, allocations: 59.92 kB / 419 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004853/0.1238, allocations: 386.9 kB / 419.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1238, allocations: 3.938 kB / 419.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.1241, allocations: 52 kB / 419.4 MB, free: 10.8 MB / 350.1 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.0001726/0.1243, allocations: 113.8 kB / 419.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005744/0.1249, allocations: 437.5 kB / 419.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1249, allocations: 0 / 419.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.1253, allocations: 381.6 kB / 420.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.1259, allocations: 119.5 kB / 420.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1271, allocations: 0.7057 MB / 421.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.1276, allocations: 0.8058 MB / 421.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.1276, allocations: 11.44 kB / 422 MB, free: 8.094 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1276, allocations: 0 / 422 MB, free: 8.094 MB / 350.1 MB Notification: Performance of Templates: time 0.005035/0.1327, allocations: 2.694 MB / 424.6 MB, free: 5.352 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.334284546086565]