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.001049/0.001049, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001709/0.002758, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009165/0.0009165, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00137/0.002286, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8783/0.8783, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.163/1.041, allocations: 52.49 MB / 238.5 MB, free: 7.621 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.342e-06/1.342e-06, allocations: 0 / 239.7 MB, free: 6.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.223e-05, allocations: 2.312 kB / 239.7 MB, free: 6.359 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002202/0.002224, allocations: 1.556 MB / 241.3 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.004109, allocations: 0.8773 MB / 242.2 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.00418, allocations: 0 / 242.2 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.935e-05/0.004259, allocations: 15.86 kB / 242.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.894e-05/0.004328, allocations: 20.61 kB / 242.2 MB, free: 3.895 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.004548, allocations: 52.91 kB / 242.3 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002263/0.004774, allocations: 131.7 kB / 242.4 MB, free: 3.715 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.402e-05/0.004858, allocations: 16.2 kB / 242.4 MB, free: 3.695 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006561/0.005514, allocations: 0.5528 MB / 243 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.005674, allocations: 63.81 kB / 243 MB, free: 3.082 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.005717, allocations: 8 kB / 243 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.005749, allocations: 8 kB / 243 MB, free: 3.066 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.988e-05/0.005829, allocations: 63.73 kB / 243.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.599e-05/0.005905, allocations: 43.81 kB / 243.1 MB, free: 2.961 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.006216, allocations: 275 kB / 243.4 MB, free: 2.691 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.006227, allocations: 0 / 243.4 MB, free: 2.691 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.006228, allocations: 1.281 kB / 243.4 MB, free: 2.691 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.006243, allocations: 0 / 243.4 MB, free: 2.691 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.0008042/0.007047, allocations: 0.6613 MB / 244.1 MB, free: 1.98 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.007083, allocations: 9.094 kB / 244.1 MB, free: 1.973 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.007167, allocations: 32.91 kB / 244.1 MB, free: 1.941 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.007412, allocations: 212.1 kB / 244.3 MB, free: 1.707 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.007433, allocations: 7.375 kB / 244.3 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.007464, allocations: 16.38 kB / 244.3 MB, free: 1.688 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.007793, allocations: 233.6 kB / 244.6 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.007802, allocations: 4.125 kB / 244.6 MB, free: 1.422 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.007821, allocations: 4.375 kB / 244.6 MB, free: 1.418 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.007829, allocations: 3.938 kB / 244.6 MB, free: 1.414 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.007989, allocations: 150.8 kB / 244.7 MB, free: 1.242 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.00828, allocations: 217 kB / 244.9 MB, free: 1.016 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.008395, allocations: 170.3 kB / 245.1 MB, free: 0.8164 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.008474, allocations: 159.7 kB / 245.3 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.29e-06/0.008479, allocations: 0.9062 kB / 245.3 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.008666, allocations: 313.3 kB / 245.6 MB, free: 284 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.008668, allocations: 1.781 kB / 245.6 MB, free: 284 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003682/0.009036, allocations: 0.537 MB / 246.1 MB, free: 15.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.009102, allocations: 182.1 kB / 246.3 MB, free: 15.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.009378, allocations: 359.2 kB / 246.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.009398, allocations: 30.36 kB / 246.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.009431, allocations: 89.81 kB / 246.8 MB, free: 14.96 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.009463, allocations: 39.72 kB / 246.8 MB, free: 14.92 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.314e-05/0.009526, allocations: 71.5 kB / 246.9 MB, free: 14.85 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.528e-05/0.009591, allocations: 318.8 kB / 247.2 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.118e-05/0.009672, allocations: 158.7 kB / 247.3 MB, free: 14.35 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.425e-05/0.009757, allocations: 172.5 kB / 247.5 MB, free: 14.15 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.009921, allocations: 328.6 kB / 247.8 MB, free: 13.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.009923, allocations: 0 / 247.8 MB, free: 13.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002065/0.01013, allocations: 359.2 kB / 248.2 MB, free: 13.37 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/0.01019, allocations: 131.4 kB / 248.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.0102, allocations: 0 / 248.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.01021, allocations: 0.5938 kB / 248.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.658e-05/0.01023, allocations: 0.5312 kB / 248.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.01023, allocations: 7.984 kB / 248.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.01032, allocations: 13.64 kB / 248.3 MB, free: 13.2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.01036, allocations: 44 kB / 248.4 MB, free: 13.15 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.0002375/0.0106, allocations: 349.3 kB / 248.7 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.01063, allocations: 37.06 kB / 248.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.01071, allocations: 59.08 kB / 248.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01072, allocations: 0 / 248.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-06/0.01072, allocations: 1 kB / 248.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01072, allocations: 3.984 kB / 248.8 MB, free: 12.68 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.0111, allocations: 0.6028 MB / 249.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.0111, allocations: 0 / 249.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-06/0.01111, allocations: 4 kB / 249.4 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.01127, allocations: 140.2 kB / 249.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01127, allocations: 0 / 249.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.01129, allocations: 12.48 kB / 249.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01129, allocations: 0 / 249.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01129, allocations: 4.812 kB / 249.6 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.01153, allocations: 0.4937 MB / 250.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.01157, allocations: 12 kB / 250.1 MB, free: 11.28 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.01164, allocations: 8 kB / 250.1 MB, free: 11.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.0117, allocations: 31.84 kB / 250.1 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.01173, allocations: 47.94 kB / 250.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.01187, allocations: 164.6 kB / 250.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01187, allocations: 0 / 250.3 MB, free: 11.04 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001536/0.01202, allocations: 40 kB / 250.4 MB, free: 11 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 0.0001019/0.01212, allocations: 99.16 kB / 250.5 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.01242, allocations: 0.5703 MB / 251 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.01242, allocations: 4 kB / 251 MB, free: 10.22 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.0126, allocations: 408.1 kB / 251.4 MB, free: 9.742 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.013, allocations: 365.1 kB / 251.8 MB, free: 9.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.01384, allocations: 0.7381 MB / 252.5 MB, free: 8.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.195e-05/0.01391, allocations: 95.28 kB / 252.6 MB, free: 8.43 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.838e-05/0.01394, allocations: 16.64 kB / 252.6 MB, free: 8.414 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.01419, allocations: 171.2 kB / 252.8 MB, free: 8.246 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01419, allocations: 3.938 kB / 252.8 MB, free: 8.242 MB / 250.7 MB Notification: Performance of Templates: time 0.005631/0.01982, allocations: 4.65 MB / 257.5 MB, free: 3.574 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4927604980766773]