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.001306/0.001306, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001387/0.001387, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.498/1.498, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.673e-06/1.673e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.462e-05, allocations: 9.453 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002379/0.002404, allocations: 1.478 MB / 326.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.004409, allocations: 0.8524 MB / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.004462, allocations: 0 / 327.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.316e-05/0.004555, allocations: 10.78 kB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.004648, allocations: 22.39 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.004915, allocations: 42.55 kB / 327.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.005169, allocations: 135.4 kB / 327.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.005284, allocations: 20.48 kB / 327.6 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000783/0.006067, allocations: 0.5909 MB / 328.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.006239, allocations: 69.31 kB / 328.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.006295, allocations: 10.09 kB / 328.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.006335, allocations: 9.844 kB / 328.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.006448, allocations: 69.62 kB / 328.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.006562, allocations: 55.91 kB / 328.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.007115, allocations: 379.7 kB / 328.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.007119, allocations: 1.094 kB / 328.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.00712, allocations: 0 / 328.8 MB, free: 14.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.007132, allocations: 0.5156 kB / 328.8 MB, free: 14.6 MB / 302.1 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.0009239/0.008055, allocations: 0.6501 MB / 329.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.008092, allocations: 12.62 kB / 329.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.789e-05/0.008169, allocations: 39.36 kB / 329.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.008487, allocations: 217.5 kB / 329.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.008508, allocations: 9.688 kB / 329.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.71e-05/0.008545, allocations: 7.469 kB / 329.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004441/0.008989, allocations: 245.7 kB / 330 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.008999, allocations: 192 / 330 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.009024, allocations: 3.594 kB / 330 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.009032, allocations: 8.906 kB / 330 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.009274, allocations: 179 kB / 330.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.01002, allocations: 380.9 kB / 330.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.0103, allocations: 201.3 kB / 330.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.01054, allocations: 177.8 kB / 330.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.01055, allocations: 9.234 kB / 330.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004361/0.01098, allocations: 325.6 kB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.01099, allocations: 1.281 kB / 331.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.00104/0.01203, allocations: 0.7123 MB / 331.9 MB, free: 11.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.01214, allocations: 171.8 kB / 332.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.01285, allocations: 0.5122 MB / 332.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.01289, allocations: 29.23 kB / 332.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.01296, allocations: 105.6 kB / 332.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/0.01301, allocations: 30.36 kB / 332.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.01314, allocations: 82.83 kB / 332.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.01329, allocations: 320.9 kB / 333.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.01352, allocations: 177.4 kB / 333.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.01378, allocations: 198.3 kB / 333.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.01424, allocations: 362.4 kB / 333.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01424, allocations: 1.406 kB / 333.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007163/0.01496, allocations: 0.5053 MB / 334.4 MB, free: 9.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.01507, allocations: 132.9 kB / 334.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01508, allocations: 0 / 334.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.0151, allocations: 5.016 kB / 334.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.296e-05/0.01512, allocations: 1 kB / 334.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.01513, allocations: 1.469 kB / 334.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01528, allocations: 12.56 kB / 334.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.379e-05/0.01537, allocations: 68.95 kB / 334.6 MB, free: 9.582 MB / 302.1 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.0004117/0.01578, allocations: 360.4 kB / 335 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.01585, allocations: 43.95 kB / 335 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.01597, allocations: 63.41 kB / 335.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01597, allocations: 0 / 335.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.01597, allocations: 1.25 kB / 335.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01598, allocations: 0 / 335.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.01716, allocations: 0.8732 MB / 335.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01717, allocations: 1.594 kB / 335.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-06/0.01717, allocations: 0 / 335.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01717, allocations: 0 / 335.9 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/0.01721, allocations: 20.2 kB / 336 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01721, allocations: 0 / 336 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.01722, allocations: 7.922 kB / 336 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/0.01809, allocations: 0.6678 MB / 336.6 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.01852, allocations: 207.3 kB / 336.8 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.01859, allocations: 11.28 kB / 336.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.01872, allocations: 7.031 kB / 336.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.01886, allocations: 28.59 kB / 336.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/0.01893, allocations: 52.12 kB / 336.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005765/0.01951, allocations: 389.9 kB / 337.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01951, allocations: 0 / 337.3 MB, free: 7.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.01983, allocations: 45.88 kB / 337.4 MB, free: 7.527 MB / 302.1 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.0001804/0.02001, allocations: 118.2 kB / 337.5 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007168/0.02072, allocations: 0.6078 MB / 338.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.02073, allocations: 1.438 kB / 338.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.02112, allocations: 427.7 kB / 338.5 MB, free: 6.391 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006527/0.02177, allocations: 114.8 kB / 338.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.02315, allocations: 0.7791 MB / 339.4 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.02344, allocations: 193 kB / 339.6 MB, free: 5.621 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.02352, allocations: 8.719 kB / 339.6 MB, free: 5.609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.02355, allocations: 20.44 kB / 339.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of SimCode: time 4e-07/0.02355, allocations: 0 / 339.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Templates: time 0.009462/0.03301, allocations: 4.995 MB / 344.6 MB, free: 0.5547 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.369842574000359]