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.002624/0.002624, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.003041/0.003041, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 18.57 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.587/1.587, allocations: 177.2 MB / 204.6 MB, free: 5.609 MB / 186.7 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.784e-06/1.784e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.273e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002786/0.002819, allocations: 1.505 MB / 273.8 MB, free: 340 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.004887, allocations: 0.842 MB / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.004939, allocations: 0 / 274.7 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.983e-05/0.005039, allocations: 15.86 kB / 274.7 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.569e-05/0.005124, allocations: 27.8 kB / 274.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.00538, allocations: 47.88 kB / 274.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.005609, allocations: 135.7 kB / 274.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.005703, allocations: 12.23 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007632/0.006466, allocations: 0.5966 MB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.006615, allocations: 59.81 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.887e-05/0.006674, allocations: 12 kB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.698e-05/0.006721, allocations: 8 kB / 275.6 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.006827, allocations: 71.66 kB / 275.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.006944, allocations: 55.78 kB / 275.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.007414, allocations: 374.8 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.00742, allocations: 3.984 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007421, allocations: 0 / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.007427, allocations: 0 / 276.1 MB, free: 14.07 MB / 266.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.001036/0.008464, allocations: 0.8094 MB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.008504, allocations: 8.031 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.008612, allocations: 48.69 kB / 276.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.008946, allocations: 214.9 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.008971, allocations: 12.36 kB / 277.2 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.008998, allocations: 8.375 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.009408, allocations: 253 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.009416, allocations: 192 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.009443, allocations: 8.359 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.00945, allocations: 3.938 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.009694, allocations: 178.8 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.01088, allocations: 0.5384 MB / 278.1 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.01119, allocations: 217.8 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.01144, allocations: 194.5 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.01146, allocations: 3.938 kB / 278.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004571/0.01191, allocations: 343.1 kB / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.01191, allocations: 0 / 278.9 MB, free: 10.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001131/0.01305, allocations: 0.7284 MB / 279.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.01318, allocations: 178.1 kB / 279.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.01423, allocations: 0.6936 MB / 280.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.01426, allocations: 25.7 kB / 280.5 MB, free: 9.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01438, allocations: 151.9 kB / 280.6 MB, free: 9.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.845e-05/0.01442, allocations: 31.91 kB / 280.7 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.01457, allocations: 99.14 kB / 280.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002861/0.01486, allocations: 0.4962 MB / 281.3 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.01509, allocations: 178.8 kB / 281.4 MB, free: 8.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.01534, allocations: 210.1 kB / 281.7 MB, free: 7.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004404/0.01578, allocations: 372.8 kB / 282 MB, free: 7.555 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01578, allocations: 0 / 282 MB, free: 7.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007563/0.01654, allocations: 0.5225 MB / 282.5 MB, free: 6.977 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.01667, allocations: 130.8 kB / 282.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01667, allocations: 0 / 282.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.01668, allocations: 0 / 282.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.0167, allocations: 0 / 282.7 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.01671, allocations: 4.062 kB / 282.7 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.01683, allocations: 20.02 kB / 282.7 MB, free: 6.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.01691, allocations: 55.94 kB / 282.7 MB, free: 6.746 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.0004099/0.01732, allocations: 389.2 kB / 283.1 MB, free: 6.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.0174, allocations: 51.7 kB / 283.2 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.01751, allocations: 59.08 kB / 283.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.01751, allocations: 0 / 283.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01752, allocations: 3.938 kB / 283.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01752, allocations: 0 / 283.2 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.01896, allocations: 1.042 MB / 284.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01896, allocations: 0 / 284.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-06/0.01897, allocations: 7.984 kB / 284.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.01897, allocations: 0 / 284.3 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.117e-05/0.019, allocations: 12 kB / 284.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.019, allocations: 0 / 284.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.019, allocations: 0 / 284.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.02019, allocations: 0.7513 MB / 285 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.0206, allocations: 185.4 kB / 285.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.02066, allocations: 16.06 kB / 285.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.02078, allocations: 15.92 kB / 285.3 MB, free: 4.035 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.0209, allocations: 27.97 kB / 285.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.321e-05/0.02098, allocations: 55.94 kB / 285.3 MB, free: 3.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0006382/0.02162, allocations: 458.7 kB / 285.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02162, allocations: 0 / 285.8 MB, free: 3.512 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.0219, allocations: 44 kB / 285.8 MB, free: 3.469 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.0001734/0.02207, allocations: 114.2 kB / 285.9 MB, free: 3.344 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008234/0.02289, allocations: 0.655 MB / 286.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.0229, allocations: 0 / 286.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.02337, allocations: 460.1 kB / 287.1 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.02405, allocations: 137.7 kB / 287.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.02538, allocations: 0.772 MB / 288 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.02565, allocations: 177.7 kB / 288.1 MB, free: 0.918 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.134e-05/0.02569, allocations: 8.719 kB / 288.1 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.02572, allocations: 16.5 kB / 288.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.02572, allocations: 0 / 288.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of Templates: time 0.01025/0.03598, allocations: 5.007 MB / 293.2 MB, free: 11.85 MB / 282.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 -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","/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.645011904998682]