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.00101/0.00101, allocations: 82.17 kB / 21.42 MB, free: 3.078 MB / 18.57 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.001152/0.001152, allocations: 149 kB / 24.8 MB, free: 8.789 MB / 18.57 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 1.027/1.027, allocations: 173.3 MB / 201.4 MB, free: 9.215 MB / 186.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.363e-06/1.363e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.583e-05, allocations: 6.25 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.005267/0.005293, allocations: 1.513 MB / 269.9 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.006887, allocations: 0.8264 MB / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/0.006952, allocations: 0 / 270.7 MB, free: 3.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.99e-05/0.007042, allocations: 15.86 kB / 270.8 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.007126, allocations: 23.84 kB / 270.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.007368, allocations: 51.81 kB / 270.8 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006179/0.01355, allocations: 127.7 kB / 271 MB, free: 3.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.01364, allocations: 20.22 kB / 271 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005823/0.01422, allocations: 0.6004 MB / 271.6 MB, free: 3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.01434, allocations: 59.83 kB / 271.6 MB, free: 2.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.01438, allocations: 8 kB / 271.6 MB, free: 2.934 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.582e-05/0.0144, allocations: 12 kB / 271.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.01448, allocations: 67.72 kB / 271.7 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.796e-05/0.01455, allocations: 59.72 kB / 271.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.01482, allocations: 283 kB / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01483, allocations: 0 / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01483, allocations: 0 / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.01483, allocations: 0 / 272.1 MB, free: 2.52 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.0006485/0.01548, allocations: 0.7824 MB / 272.8 MB, free: 1.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.01552, allocations: 8.922 kB / 272.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.01559, allocations: 48.7 kB / 272.9 MB, free: 1.621 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.01579, allocations: 226.8 kB / 273.1 MB, free: 1.371 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.01581, allocations: 4.375 kB / 273.1 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.01583, allocations: 8.375 kB / 273.1 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.0161, allocations: 241.6 kB / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.01611, allocations: 192 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.01612, allocations: 4.375 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.01613, allocations: 3.938 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.01623, allocations: 162.7 kB / 273.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00657/0.0228, allocations: 396.2 kB / 273.9 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.02297, allocations: 185.8 kB / 274.1 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.02308, allocations: 166.5 kB / 274.3 MB, free: 76 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.02309, allocations: 4 kB / 274.3 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.02332, allocations: 319 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.02333, allocations: 0 / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005995/0.02393, allocations: 0.658 MB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.02399, allocations: 166.2 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.02453, allocations: 0.51 MB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.02456, allocations: 29.7 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.02462, allocations: 147.9 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.02465, allocations: 31.73 kB / 276.1 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.299e-05/0.02475, allocations: 91.12 kB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.02487, allocations: 0.4962 MB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.02498, allocations: 154.8 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.0251, allocations: 185.7 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.0253, allocations: 320.5 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.02531, allocations: 0 / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.003436/0.02874, allocations: 487 kB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/0.02882, allocations: 126.8 kB / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.02882, allocations: 0 / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.02884, allocations: 0 / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-05/0.02885, allocations: 0 / 277.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.02886, allocations: 4.109 kB / 277.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.02896, allocations: 15.94 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.02902, allocations: 59.97 kB / 278 MB, free: 11.91 MB / 266.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.0003067/0.02933, allocations: 393.2 kB / 278.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.02939, allocations: 55.73 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.02949, allocations: 51.09 kB / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.0295, allocations: 0 / 278.5 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.0295, allocations: 4 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.0295, allocations: 0 / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007623/0.03026, allocations: 0.8392 MB / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.03027, allocations: 0 / 279.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.03027, allocations: 3.938 kB / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.03028, allocations: 0 / 279.4 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.0303, allocations: 19.98 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.0303, allocations: 0 / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0303, allocations: 4 kB / 279.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.03081, allocations: 0.6808 MB / 280.1 MB, free: 9.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.03109, allocations: 185.3 kB / 280.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.03113, allocations: 16.17 kB / 280.3 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/0.03424, allocations: 12 kB / 280.3 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.03431, allocations: 19.98 kB / 280.3 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.03436, allocations: 59.92 kB / 280.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000271/0.03463, allocations: 306.9 kB / 280.6 MB, free: 9.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03463, allocations: 0 / 280.6 MB, free: 9.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.0349, allocations: 40 kB / 280.7 MB, free: 9.051 MB / 266.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.0001221/0.03502, allocations: 125.9 kB / 280.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.03541, allocations: 0.5692 MB / 281.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.03541, allocations: 0 / 281.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.03563, allocations: 420 kB / 281.8 MB, free: 7.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.03609, allocations: 122.5 kB / 281.9 MB, free: 7.648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008697/0.03696, allocations: 0.7407 MB / 282.6 MB, free: 6.855 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.03705, allocations: 99.33 kB / 282.7 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.785e-05/0.03709, allocations: 12.66 kB / 282.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003334/0.04042, allocations: 194 kB / 282.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04042, allocations: 0 / 282.9 MB, free: 6.535 MB / 266.7 MB Notification: Performance of Templates: time 0.009533/0.04995, allocations: 4.733 MB / 287.7 MB, free: 1.781 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7572859530337155]