Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007798/0.0007798, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002247, allocations: 449.8 kB / 10.44 MB, free: 252 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.001101/0.001101, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001439/0.00254, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.025/1.025, allocations: 177.2 MB / 189.8 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1034/1.128, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.196e-05, allocations: 2.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003161/0.003183, allocations: 1.589 MB / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.005411, allocations: 0.9011 MB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.005483, allocations: 4 kB / 247.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.005587, allocations: 11.92 kB / 247.2 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.005678, allocations: 23.73 kB / 247.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.005934, allocations: 51.81 kB / 247.3 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.006184, allocations: 131.7 kB / 247.4 MB, free: 11.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.922e-05/0.006283, allocations: 16.22 kB / 247.4 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007004/0.006984, allocations: 0.542 MB / 248 MB, free: 10.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.007145, allocations: 71.73 kB / 248 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.007192, allocations: 8 kB / 248 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.007227, allocations: 16 kB / 248.1 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.007314, allocations: 63.73 kB / 248.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.007396, allocations: 43.81 kB / 248.2 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.007714, allocations: 267.1 kB / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.039e-05/0.007734, allocations: 0 / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.007736, allocations: 0 / 248.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.00775, allocations: 0 / 248.4 MB, free: 10.46 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.000818/0.008568, allocations: 0.6613 MB / 249.1 MB, free: 9.746 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.008605, allocations: 8.031 kB / 249.1 MB, free: 9.738 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.894e-05/0.008684, allocations: 28.91 kB / 249.1 MB, free: 9.711 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.008937, allocations: 232 kB / 249.4 MB, free: 9.457 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.008962, allocations: 4.375 kB / 249.4 MB, free: 9.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.00899, allocations: 8.375 kB / 249.4 MB, free: 9.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.009354, allocations: 233.6 kB / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.009363, allocations: 192 / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.009391, allocations: 4.375 kB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.0094, allocations: 3.938 kB / 249.6 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.00954, allocations: 154.8 kB / 249.8 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.009921, allocations: 208.2 kB / 250 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.0101, allocations: 177.3 kB / 250.1 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.01023, allocations: 159.7 kB / 250.3 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-06/0.01024, allocations: 3.938 kB / 250.3 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.01051, allocations: 309.5 kB / 250.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.01051, allocations: 3.938 kB / 250.6 MB, free: 8.031 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005048/0.01101, allocations: 0.5293 MB / 251.1 MB, free: 7.422 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.0111, allocations: 182.1 kB / 251.3 MB, free: 7.207 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.01139, allocations: 359.2 kB / 251.7 MB, free: 6.844 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.01141, allocations: 33.7 kB / 251.7 MB, free: 6.805 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.01145, allocations: 93.08 kB / 251.8 MB, free: 6.711 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.01148, allocations: 31.77 kB / 251.8 MB, free: 6.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.01155, allocations: 73.5 kB / 251.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.878e-05/0.01163, allocations: 322.8 kB / 252.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.862e-05/0.01172, allocations: 154.8 kB / 252.3 MB, free: 6.102 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.843e-05/0.01181, allocations: 168.5 kB / 252.5 MB, free: 5.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.01198, allocations: 334.9 kB / 252.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01198, allocations: 0 / 252.8 MB, free: 5.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002245/0.0122, allocations: 363.2 kB / 253.2 MB, free: 5.117 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.979e-05/0.0123, allocations: 133.1 kB / 253.3 MB, free: 4.965 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01231, allocations: 0 / 253.3 MB, free: 4.965 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.01232, allocations: 0 / 253.3 MB, free: 4.965 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.128e-05/0.01234, allocations: 4 kB / 253.3 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.01235, allocations: 80 / 253.3 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.01244, allocations: 11.98 kB / 253.3 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.01249, allocations: 55.92 kB / 253.4 MB, free: 4.895 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.0002626/0.01275, allocations: 345.3 kB / 253.7 MB, free: 4.523 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.01279, allocations: 43.88 kB / 253.8 MB, free: 4.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.01287, allocations: 47.09 kB / 253.8 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01287, allocations: 0 / 253.8 MB, free: 4.434 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01287, allocations: 4.125 kB / 253.8 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.01287, allocations: 0 / 253.8 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004831/0.01336, allocations: 0.6056 MB / 254.4 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01336, allocations: 0 / 254.4 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-06/0.01337, allocations: 0 / 254.4 MB, free: 3.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.01356, allocations: 139.4 kB / 254.6 MB, free: 3.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01356, allocations: 4 kB / 254.6 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.01358, allocations: 11.98 kB / 254.6 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01358, allocations: 4 kB / 254.6 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01358, allocations: 0 / 254.6 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.01386, allocations: 0.5009 MB / 255.1 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.01389, allocations: 11.94 kB / 255.1 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.01397, allocations: 8 kB / 255.1 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.01403, allocations: 23.97 kB / 255.1 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.01406, allocations: 48 kB / 255.2 MB, free: 2.938 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.01421, allocations: 152.6 kB / 255.3 MB, free: 2.785 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01421, allocations: 0 / 255.3 MB, free: 2.785 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.01437, allocations: 44 kB / 255.4 MB, free: 2.742 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.0001104/0.01448, allocations: 99.41 kB / 255.5 MB, free: 2.637 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003191/0.0148, allocations: 0.5703 MB / 256 MB, free: 1.965 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.0148, allocations: 4 kB / 256 MB, free: 1.961 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.01499, allocations: 416 kB / 256.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.01539, allocations: 356.3 kB / 256.8 MB, free: 1.094 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/0.01639, allocations: 0.7497 MB / 257.5 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.531e-05/0.01646, allocations: 95.27 kB / 257.6 MB, free: 180 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.01651, allocations: 16.64 kB / 257.7 MB, free: 164 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.0168, allocations: 167.2 kB / 257.8 MB, free: 16 MB / 266.7 MB Notification: Performance of SimCode: time 1.073e-06/0.0168, allocations: 0 / 257.8 MB, free: 16 MB / 266.7 MB Notification: Performance of Templates: time 0.006085/0.02288, allocations: 4.652 MB / 262.5 MB, free: 11.33 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.620506971143186]