Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.0008615/0.0008615, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002016, 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.0009904/0.0009904, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002337, 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.9256/0.9256, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08541/1.011, 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.698e-05, allocations: 2.312 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001792/0.001809, allocations: 1.56 MB / 241.1 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.003139, allocations: 0.8824 MB / 242 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.003187, allocations: 4 kB / 242 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.159e-05/0.003248, allocations: 11.86 kB / 242 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.003296, allocations: 15.86 kB / 242 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.003443, allocations: 55.81 kB / 242.1 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.00359, allocations: 131.7 kB / 242.2 MB, free: 0.5156 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.846e-05/0.003659, allocations: 16.22 kB / 242.2 MB, free: 0.4961 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004363/0.004095, allocations: 0.5459 MB / 242.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.004198, allocations: 67.75 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.004226, allocations: 8 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.208e-05/0.004249, allocations: 12 kB / 242.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.004307, allocations: 55.8 kB / 242.9 MB, free: 15.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.004365, allocations: 51.8 kB / 243 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.004565, allocations: 267 kB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.004576, allocations: 0 / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.004577, allocations: 4 kB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.004588, allocations: 0 / 243.2 MB, free: 15.49 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.0005184/0.005106, allocations: 0.6535 MB / 243.9 MB, free: 14.79 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.005135, allocations: 12.03 kB / 243.9 MB, free: 14.78 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.005189, allocations: 32.91 kB / 243.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.005362, allocations: 212 kB / 244.1 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.005378, allocations: 4.375 kB / 244.1 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.005396, allocations: 12.38 kB / 244.1 MB, free: 14.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.005648, allocations: 237.6 kB / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005656, allocations: 192 / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.00567, allocations: 8.375 kB / 244.4 MB, free: 14.22 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005675, allocations: 7.875 kB / 244.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.005762, allocations: 154.8 kB / 244.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.006038, allocations: 216.2 kB / 244.8 MB, free: 13.81 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.00615, allocations: 169.3 kB / 244.9 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.006227, allocations: 159.7 kB / 245.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-06/0.006231, allocations: 0 / 245.1 MB, free: 13.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.006402, allocations: 313.3 kB / 245.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.072e-06/0.006403, allocations: 4 kB / 245.4 MB, free: 13.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003107/0.006714, allocations: 0.5253 MB / 245.9 MB, free: 12.46 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.006747, allocations: 85.09 kB / 246 MB, free: 12.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.007015, allocations: 359.2 kB / 246.3 MB, free: 12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.007045, allocations: 33.7 kB / 246.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.467e-05/0.007079, allocations: 93.11 kB / 246.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.007108, allocations: 35.73 kB / 246.5 MB, free: 11.83 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.007173, allocations: 73.53 kB / 246.6 MB, free: 11.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.007246, allocations: 318.8 kB / 246.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.007324, allocations: 154.8 kB / 247 MB, free: 11.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.863e-05/0.007413, allocations: 176.4 kB / 247.2 MB, free: 11.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.007575, allocations: 326.5 kB / 247.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007577, allocations: 0 / 247.5 MB, free: 10.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002136/0.007791, allocations: 371.4 kB / 247.9 MB, free: 10.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.007852, allocations: 122.7 kB / 248 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007858, allocations: 7.984 kB / 248 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.007865, allocations: 0 / 248 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.632e-05/0.007882, allocations: 0 / 248 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.007885, allocations: 8.016 kB / 248 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.007971, allocations: 20.08 kB / 248 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.008011, allocations: 48 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.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.0002012/0.008212, allocations: 345.2 kB / 248.4 MB, free: 9.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.008243, allocations: 35.91 kB / 248.5 MB, free: 9.629 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.008313, allocations: 55.09 kB / 248.5 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.008315, allocations: 0 / 248.5 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.008317, allocations: 0 / 248.5 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.00832, allocations: 3.984 kB / 248.5 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.00867, allocations: 0.5979 MB / 249.1 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008671, allocations: 3.938 kB / 249.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-06/0.008675, allocations: 0 / 249.1 MB, free: 8.891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.008835, allocations: 143.4 kB / 249.3 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.008836, allocations: 0 / 249.3 MB, free: 8.754 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.00885, allocations: 11.97 kB / 249.3 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008851, allocations: 0 / 249.3 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008852, allocations: 3.938 kB / 249.3 MB, free: 8.738 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.009092, allocations: 0.497 MB / 249.8 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.009123, allocations: 12 kB / 249.8 MB, free: 8.164 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.568e-05/0.009189, allocations: 12 kB / 249.8 MB, free: 8.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.009243, allocations: 19.97 kB / 249.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.009277, allocations: 51.94 kB / 249.9 MB, free: 8.082 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001322/0.009409, allocations: 152.6 kB / 250 MB, free: 7.934 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009409, allocations: 0 / 250 MB, free: 7.934 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001467/0.009556, allocations: 44 kB / 250.1 MB, free: 7.891 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,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.554e-05/0.009631, allocations: 100.2 kB / 250.2 MB, free: 7.785 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.009921, allocations: 0.5741 MB / 250.7 MB, free: 7.109 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.009926, allocations: 4 kB / 250.7 MB, free: 7.105 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.01009, allocations: 420.1 kB / 251.1 MB, free: 6.617 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.01038, allocations: 142.9 kB / 251.3 MB, free: 6.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008116/0.01119, allocations: 0.7302 MB / 252 MB, free: 5.699 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.208e-05/0.01125, allocations: 99.2 kB / 252.1 MB, free: 5.582 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.911e-05/0.01128, allocations: 12.7 kB / 252.1 MB, free: 5.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.0115, allocations: 175.2 kB / 252.3 MB, free: 5.398 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01151, allocations: 0 / 252.3 MB, free: 5.398 MB / 250.7 MB Notification: Performance of Templates: time 0.004882/0.01639, allocations: 4.646 MB / 256.9 MB, free: 0.7266 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.5296362414956093]