Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.001528/0.001528, allocations: 84.98 kB / 23 MB, free: 1.5 MB / 18.57 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.001778/0.001778, allocations: 181.4 kB / 26.4 MB, free: 7.984 MB / 18.57 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 1.009/1.009, allocations: 158.6 MB / 188.3 MB, free: 2.809 MB / 170.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.579e-05, allocations: 6.312 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.005516/0.005541, allocations: 1.507 MB / 253.8 MB, free: 5.723 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.007248, allocations: 0.8623 MB / 254.6 MB, free: 4.852 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.007304, allocations: 4 kB / 254.6 MB, free: 4.848 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.233e-05/0.007397, allocations: 11.86 kB / 254.6 MB, free: 4.836 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.007478, allocations: 23.86 kB / 254.7 MB, free: 4.812 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.007713, allocations: 47.88 kB / 254.7 MB, free: 4.766 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.007887, allocations: 131.7 kB / 254.8 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.429e-05/0.007972, allocations: 12.22 kB / 254.9 MB, free: 4.621 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/0.008549, allocations: 0.6005 MB / 255.5 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.008668, allocations: 59.83 kB / 255.5 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.572e-05/0.008704, allocations: 8 kB / 255.5 MB, free: 3.953 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.439e-05/0.008729, allocations: 15.94 kB / 255.5 MB, free: 3.938 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.51e-05/0.008804, allocations: 67.75 kB / 255.6 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.008885, allocations: 59.73 kB / 255.7 MB, free: 3.812 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.009165, allocations: 290.9 kB / 255.9 MB, free: 3.527 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.009168, allocations: 0 / 255.9 MB, free: 3.527 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009168, allocations: 0 / 255.9 MB, free: 3.527 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.009173, allocations: 0 / 255.9 MB, free: 3.527 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.0006687/0.009842, allocations: 0.7785 MB / 256.7 MB, free: 2.688 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.009877, allocations: 15.98 kB / 256.7 MB, free: 2.672 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.009958, allocations: 44.7 kB / 256.8 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.01016, allocations: 226.8 kB / 257 MB, free: 2.379 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.01018, allocations: 4.375 kB / 257 MB, free: 2.375 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.0102, allocations: 12.38 kB / 257 MB, free: 2.363 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.01048, allocations: 233.7 kB / 257.2 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.01048, allocations: 192 / 257.2 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.0105, allocations: 8.375 kB / 257.3 MB, free: 2.094 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.01051, allocations: 7.938 kB / 257.3 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.01062, allocations: 150.8 kB / 257.4 MB, free: 1.914 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.01113, allocations: 408 kB / 257.8 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.01129, allocations: 189.8 kB / 258 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.0114, allocations: 162.5 kB / 258.2 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.01141, allocations: 8 kB / 258.2 MB, free: 1.07 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.01164, allocations: 311.1 kB / 258.5 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.01164, allocations: 0 / 258.5 MB, free: 0.7148 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006663/0.0123, allocations: 0.662 MB / 259.1 MB, free: 15.97 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.831e-05/0.01237, allocations: 166.2 kB / 259.3 MB, free: 15.77 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/0.01294, allocations: 0.5061 MB / 259.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.01297, allocations: 29.7 kB / 259.8 MB, free: 15.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.01304, allocations: 151.8 kB / 260 MB, free: 15.06 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.01307, allocations: 27.83 kB / 260 MB, free: 15.04 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.01317, allocations: 87.16 kB / 260.1 MB, free: 14.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.0133, allocations: 0.5001 MB / 260.6 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.01341, allocations: 150.8 kB / 260.7 MB, free: 14.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.01353, allocations: 178.1 kB / 260.9 MB, free: 14.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.01375, allocations: 324.9 kB / 261.2 MB, free: 13.68 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.01376, allocations: 4 kB / 261.2 MB, free: 13.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004536/0.01421, allocations: 478.9 kB / 261.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.562e-05/0.01429, allocations: 130.8 kB / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01429, allocations: 0 / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.0143, allocations: 4.031 kB / 261.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.638e-05/0.01432, allocations: 4 kB / 261.8 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.01432, allocations: 0 / 261.8 MB, free: 12.99 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.01442, allocations: 11.98 kB / 261.8 MB, free: 12.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.01448, allocations: 55.94 kB / 261.9 MB, free: 12.93 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.0003092/0.01479, allocations: 401.3 kB / 262.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.01486, allocations: 55.7 kB / 262.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.911e-05/0.01496, allocations: 47.09 kB / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.01496, allocations: 4 kB / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01496, allocations: 0 / 262.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.01497, allocations: 7.984 kB / 262.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008075/0.01578, allocations: 0.8431 MB / 263.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01578, allocations: 0 / 263.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-06/0.01579, allocations: 7.922 kB / 263.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01579, allocations: 3.938 kB / 263.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.01581, allocations: 12 kB / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01581, allocations: 0 / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01582, allocations: 0 / 263.3 MB, free: 11.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005218/0.01634, allocations: 0.6769 MB / 263.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/0.01664, allocations: 197.3 kB / 264.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.01668, allocations: 12 kB / 264.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.01679, allocations: 12 kB / 264.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.01687, allocations: 19.97 kB / 264.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.01692, allocations: 59.94 kB / 264.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.00028/0.0172, allocations: 302.9 kB / 264.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0172, allocations: 0 / 264.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.01748, allocations: 40 kB / 264.6 MB, free: 10.06 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.0001297/0.01761, allocations: 114.2 kB / 264.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.01805, allocations: 0.5769 MB / 265.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01805, allocations: 0 / 265.3 MB, free: 9.262 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.01829, allocations: 412.3 kB / 265.7 MB, free: 8.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.0188, allocations: 134.4 kB / 265.8 MB, free: 8.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009423/0.01974, allocations: 0.7399 MB / 266.5 MB, free: 7.871 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.387e-05/0.01983, allocations: 99.2 kB / 266.6 MB, free: 7.754 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.727e-05/0.01987, allocations: 12.7 kB / 266.6 MB, free: 7.742 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.02019, allocations: 198.1 kB / 266.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02019, allocations: 0 / 266.8 MB, free: 7.547 MB / 250.7 MB Notification: Performance of Templates: time 0.00731/0.0275, allocations: 4.783 MB / 271.6 MB, free: 2.684 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.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.914087654091418]