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.000945/0.000945, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001118/0.001118, allocations: 170.3 kB / 25.69 MB, free: 8.453 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 0.9725/0.9725, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.152e-06/1.152e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.13e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002475/0.002486, allocations: 1.558 MB / 253.1 MB, free: 5.652 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.004471, allocations: 0.8778 MB / 254 MB, free: 4.766 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.004518, allocations: 0 / 254 MB, free: 4.766 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.646e-05/0.004605, allocations: 7.875 kB / 254 MB, free: 4.758 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.004688, allocations: 19.86 kB / 254 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.004926, allocations: 55.81 kB / 254.1 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.005112, allocations: 131.7 kB / 254.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.613e-05/0.005188, allocations: 12.22 kB / 254.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005651/0.005753, allocations: 0.542 MB / 254.8 MB, free: 3.996 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.005885, allocations: 67.75 kB / 254.8 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.005922, allocations: 15.98 kB / 254.9 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.454e-05/0.005947, allocations: 8 kB / 254.9 MB, free: 3.906 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.006016, allocations: 59.78 kB / 254.9 MB, free: 3.848 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.006095, allocations: 59.73 kB / 255 MB, free: 3.789 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.006372, allocations: 279 kB / 255.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.006374, allocations: 0 / 255.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006375, allocations: 4 kB / 255.3 MB, free: 3.512 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.00638, allocations: 4 kB / 255.3 MB, free: 3.508 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.0005936/0.006974, allocations: 0.6147 MB / 255.9 MB, free: 2.844 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.00701, allocations: 15.98 kB / 255.9 MB, free: 2.828 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.00708, allocations: 28.91 kB / 255.9 MB, free: 2.801 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.007297, allocations: 212.1 kB / 256.1 MB, free: 2.566 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.00732, allocations: 8.375 kB / 256.1 MB, free: 2.559 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.007341, allocations: 4.375 kB / 256.1 MB, free: 2.555 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.007632, allocations: 233.6 kB / 256.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.00764, allocations: 192 / 256.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.007658, allocations: 8.375 kB / 256.4 MB, free: 2.285 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.007666, allocations: 7.938 kB / 256.4 MB, free: 2.277 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.007799, allocations: 154.8 kB / 256.5 MB, free: 2.102 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.008139, allocations: 212.2 kB / 256.7 MB, free: 1.879 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.008308, allocations: 169.3 kB / 256.9 MB, free: 1.676 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.008435, allocations: 155.7 kB / 257.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.008441, allocations: 0 / 257.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.008688, allocations: 309.3 kB / 257.4 MB, free: 1.145 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.00869, allocations: 4 kB / 257.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005076/0.009197, allocations: 0.5059 MB / 257.9 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.009274, allocations: 166.2 kB / 258 MB, free: 364 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004309/0.009705, allocations: 359.2 kB / 258.4 MB, free: 15.99 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.009736, allocations: 33.7 kB / 258.4 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.009782, allocations: 100.9 kB / 258.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.00982, allocations: 31.77 kB / 258.5 MB, free: 15.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.875e-05/0.009918, allocations: 73.5 kB / 258.6 MB, free: 15.74 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.01001, allocations: 322.8 kB / 258.9 MB, free: 15.42 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.01014, allocations: 150.8 kB / 259.1 MB, free: 15.25 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.01026, allocations: 164.5 kB / 259.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.01049, allocations: 319.1 kB / 259.6 MB, free: 14.69 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.0105, allocations: 4 kB / 259.6 MB, free: 14.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003025/0.0108, allocations: 351.2 kB / 259.9 MB, free: 14.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/0.01088, allocations: 122.7 kB / 260 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01089, allocations: 3.984 kB / 260 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.0109, allocations: 4 kB / 260 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.782e-05/0.01092, allocations: 3.938 kB / 260 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.01092, allocations: 4.031 kB / 260 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.01103, allocations: 12 kB / 260 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.028e-05/0.01109, allocations: 51.94 kB / 260.1 MB, free: 14.07 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.0003125/0.0114, allocations: 349.5 kB / 260.4 MB, free: 13.69 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.01146, allocations: 35.91 kB / 260.5 MB, free: 13.65 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.01157, allocations: 59.08 kB / 260.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01157, allocations: 0 / 260.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.01157, allocations: 0 / 260.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01158, allocations: 0 / 260.5 MB, free: 13.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.01214, allocations: 0.5939 MB / 261.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.01215, allocations: 0 / 261.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-06/0.01215, allocations: 0 / 261.1 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.01216, allocations: 4.047 kB / 261.1 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.01219, allocations: 15.92 kB / 261.1 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01219, allocations: 0 / 261.1 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01219, allocations: 0 / 261.1 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.01258, allocations: 493 kB / 261.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.01287, allocations: 147.4 kB / 261.8 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.01292, allocations: 12 kB / 261.8 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.01304, allocations: 15.98 kB / 261.8 MB, free: 12.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.01311, allocations: 19.98 kB / 261.8 MB, free: 12.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.01317, allocations: 47.94 kB / 261.9 MB, free: 12.12 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002324/0.0134, allocations: 156.6 kB / 262 MB, free: 11.97 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.0134, allocations: 0 / 262 MB, free: 11.97 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.01367, allocations: 40 kB / 262.1 MB, free: 11.93 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.0001167/0.01379, allocations: 95.53 kB / 262.1 MB, free: 11.83 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004433/0.01423, allocations: 0.566 MB / 262.7 MB, free: 11.17 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.01423, allocations: 4 kB / 262.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.0145, allocations: 412.1 kB / 263.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.01494, allocations: 125.7 kB / 263.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009989/0.01594, allocations: 0.7293 MB / 264 MB, free: 9.789 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.01604, allocations: 95.27 kB / 264.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.574e-05/0.01608, allocations: 16.69 kB / 264.1 MB, free: 9.66 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.01645, allocations: 167.2 kB / 264.2 MB, free: 9.496 MB / 250.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01645, allocations: 0 / 264.2 MB, free: 9.496 MB / 250.7 MB Notification: Performance of Templates: time 0.007321/0.02377, allocations: 4.621 MB / 268.9 MB, free: 4.797 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 -s gbode -gbm=radauIIA3 -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.6356293610297143]