Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.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.001157/0.001157, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001854/0.003011, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001076/0.001076, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002443, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8486/0.8486, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1376/0.9863, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.352e-05, allocations: 6.312 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001587/0.001601, allocations: 1.55 MB / 223.4 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.002869, allocations: 0.9052 MB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.002917, allocations: 3.938 kB / 224.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.252e-05/0.002989, allocations: 7.938 kB / 224.3 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.465e-05/0.003044, allocations: 23.84 kB / 224.3 MB, free: 13.64 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.0032, allocations: 47.83 kB / 224.4 MB, free: 13.6 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.003369, allocations: 135.7 kB / 224.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.782e-05/0.003457, allocations: 20.16 kB / 224.5 MB, free: 13.44 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004846/0.003941, allocations: 0.5498 MB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.004068, allocations: 67.8 kB / 225.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.0041, allocations: 8 kB / 225.2 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.128e-05/0.004122, allocations: 8 kB / 225.2 MB, free: 12.81 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.138e-05/0.004193, allocations: 67.72 kB / 225.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.004254, allocations: 43.81 kB / 225.3 MB, free: 12.7 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.004471, allocations: 271.1 kB / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.004483, allocations: 0 / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004484, allocations: 0 / 225.5 MB, free: 12.43 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.004495, allocations: 0 / 225.5 MB, free: 12.43 MB / 234.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.0005084/0.005004, allocations: 0.6651 MB / 226.2 MB, free: 11.72 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.00503, allocations: 8.031 kB / 226.2 MB, free: 11.71 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.00508, allocations: 32.91 kB / 226.2 MB, free: 11.68 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.005242, allocations: 208.1 kB / 226.4 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.005259, allocations: 8.359 kB / 226.5 MB, free: 11.45 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.005276, allocations: 12.36 kB / 226.5 MB, free: 11.43 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.005519, allocations: 241.6 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.005526, allocations: 192 / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.005538, allocations: 384 / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005544, allocations: 7.938 kB / 226.7 MB, free: 11.16 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.822e-05/0.005632, allocations: 150.8 kB / 226.9 MB, free: 10.98 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.005875, allocations: 216.2 kB / 227.1 MB, free: 10.76 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.005989, allocations: 173.3 kB / 227.2 MB, free: 10.55 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.88e-05/0.006068, allocations: 163.7 kB / 227.4 MB, free: 10.37 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.006074, allocations: 4 kB / 227.4 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.006462, allocations: 313.5 kB / 227.7 MB, free: 10.01 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.006463, allocations: 0 / 227.7 MB, free: 10.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003444/0.006808, allocations: 0.5239 MB / 228.2 MB, free: 9.406 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.006846, allocations: 85.11 kB / 228.3 MB, free: 9.305 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.007119, allocations: 363.2 kB / 228.7 MB, free: 8.938 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.007139, allocations: 29.7 kB / 228.7 MB, free: 8.902 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.007177, allocations: 97.08 kB / 228.8 MB, free: 8.805 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.007202, allocations: 27.72 kB / 228.8 MB, free: 8.777 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.007273, allocations: 77.48 kB / 228.9 MB, free: 8.695 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.007355, allocations: 330.8 kB / 229.2 MB, free: 8.363 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.007443, allocations: 150.8 kB / 229.4 MB, free: 8.191 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.007529, allocations: 168.6 kB / 229.5 MB, free: 7.996 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.007678, allocations: 327 kB / 229.8 MB, free: 7.621 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00768, allocations: 0 / 229.8 MB, free: 7.621 MB / 234.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001872/0.007867, allocations: 365.3 kB / 230.2 MB, free: 7.211 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.007926, allocations: 130.7 kB / 230.3 MB, free: 7.059 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.00793, allocations: 80 / 230.3 MB, free: 7.059 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.007939, allocations: 4.031 kB / 230.3 MB, free: 7.055 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.007955, allocations: 4 kB / 230.3 MB, free: 7.051 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.007959, allocations: 7.922 kB / 230.3 MB, free: 7.043 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.008032, allocations: 12 kB / 230.4 MB, free: 7.031 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.008072, allocations: 55.92 kB / 230.4 MB, free: 6.977 MB / 234.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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0001985/0.008271, allocations: 337.3 kB / 230.7 MB, free: 6.609 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.008302, allocations: 35.91 kB / 230.8 MB, free: 6.574 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.008376, allocations: 55.08 kB / 230.8 MB, free: 6.523 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.00838, allocations: 4 kB / 230.8 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.008381, allocations: 0 / 230.8 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.008383, allocations: 4 kB / 230.8 MB, free: 6.516 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.008748, allocations: 0.6056 MB / 231.4 MB, free: 5.836 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.00875, allocations: 0 / 231.4 MB, free: 5.836 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.916e-06/0.008753, allocations: 0 / 231.4 MB, free: 5.836 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.008913, allocations: 143.6 kB / 231.6 MB, free: 5.695 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.008917, allocations: 4 kB / 231.6 MB, free: 5.691 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.008931, allocations: 11.98 kB / 231.6 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.008931, allocations: 0 / 231.6 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.008932, allocations: 0 / 231.6 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.009163, allocations: 0.4931 MB / 232.1 MB, free: 5.121 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.009193, allocations: 15.94 kB / 232.1 MB, free: 5.105 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.009256, allocations: 8 kB / 232.1 MB, free: 5.098 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.009316, allocations: 19.97 kB / 232.1 MB, free: 5.078 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/0.00935, allocations: 51.94 kB / 232.2 MB, free: 5.027 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001281/0.009478, allocations: 156.6 kB / 232.3 MB, free: 4.871 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009478, allocations: 0 / 232.3 MB, free: 4.871 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000142/0.00962, allocations: 40 kB / 232.4 MB, free: 4.832 MB / 234.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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.685e-05/0.009697, allocations: 100.1 kB / 232.5 MB, free: 4.727 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.009976, allocations: 0.5742 MB / 233.1 MB, free: 4.051 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.00998, allocations: 8 kB / 233.1 MB, free: 4.043 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.01015, allocations: 416 kB / 233.5 MB, free: 3.559 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.01044, allocations: 142.9 kB / 233.6 MB, free: 3.426 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007538/0.01119, allocations: 0.7411 MB / 234.3 MB, free: 2.629 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.249e-05/0.01125, allocations: 99.25 kB / 234.4 MB, free: 2.512 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.956e-05/0.01128, allocations: 8.719 kB / 234.5 MB, free: 2.504 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/0.01171, allocations: 175.3 kB / 234.6 MB, free: 2.332 MB / 234.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01171, allocations: 0 / 234.6 MB, free: 2.332 MB / 234.7 MB Notification: Performance of Templates: time 0.004973/0.01668, allocations: 4.629 MB / 239.3 MB, free: 13.62 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.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.5434971526265144]