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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 111.9 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 47.69 kB / 302 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.0914, allocations: 49.45 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.0028/0.09427, allocations: 1.503 MB / 353 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.09606, allocations: 0.8473 MB / 353.8 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.955e-05/0.09612, allocations: 8 kB / 353.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/0.09623, allocations: 7.875 kB / 353.9 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.192e-05/0.09634, allocations: 19.86 kB / 353.9 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.0966, allocations: 51.88 kB / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.09681, allocations: 139.7 kB / 354.1 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.09693, allocations: 24.22 kB / 354.1 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005413/0.09748, allocations: 0.5654 MB / 354.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.09762, allocations: 67.77 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.574e-05/0.09766, allocations: 8 kB / 354.7 MB, free: 440 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.09769, allocations: 8 kB / 354.7 MB, free: 432 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.09779, allocations: 71.69 kB / 354.8 MB, free: 360 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.09791, allocations: 115.2 kB / 354.9 MB, free: 244 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.09824, allocations: 374.8 kB / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.09826, allocations: 0 / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09827, allocations: 0 / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.09828, allocations: 4 kB / 355.3 MB, free: 15.86 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.0006872/0.09897, allocations: 0.7148 MB / 356 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.09902, allocations: 12.03 kB / 356 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.09909, allocations: 36.47 kB / 356 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.09937, allocations: 278.3 kB / 356.3 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.0994, allocations: 8.375 kB / 356.3 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.09944, allocations: 8.375 kB / 356.3 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.09973, allocations: 133.5 kB / 356.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.09974, allocations: 0 / 356.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.09977, allocations: 8 kB / 356.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.09978, allocations: 0 / 356.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.09993, allocations: 67.89 kB / 356.5 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.1006, allocations: 456.6 kB / 357 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.1008, allocations: 102.5 kB / 357.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.101, allocations: 84.88 kB / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.101, allocations: 8.109 kB / 357.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.1013, allocations: 206.6 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.1013, allocations: 0 / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007468/0.1021, allocations: 479.8 kB / 357.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.238e-05/0.1022, allocations: 170.2 kB / 358 MB, free: 12.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.1028, allocations: 0.509 MB / 358.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.1028, allocations: 29.7 kB / 358.6 MB, free: 12.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1029, allocations: 109 kB / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1029, allocations: 27.66 kB / 358.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.103, allocations: 81.42 kB / 358.8 MB, free: 12.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.649e-05/0.1031, allocations: 322.8 kB / 359.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1032, allocations: 59.97 kB / 359.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1034, allocations: 77.67 kB / 359.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.1037, allocations: 347.2 kB / 359.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1037, allocations: 0 / 359.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005139/0.1042, allocations: 388.4 kB / 359.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.1043, allocations: 126.8 kB / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1044, allocations: 4 kB / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1044, allocations: 0 / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.862e-05/0.1044, allocations: 0 / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1044, allocations: 0 / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.1045, allocations: 15.89 kB / 360.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/0.1046, allocations: 59.94 kB / 360.1 MB, free: 10.59 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.00032/0.1049, allocations: 370.7 kB / 360.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.601e-05/0.105, allocations: 35.62 kB / 360.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.875e-05/0.1051, allocations: 63.16 kB / 360.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1051, allocations: 0 / 360.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1051, allocations: 7.984 kB / 360.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1051, allocations: 0 / 360.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.1061, allocations: 0.8163 MB / 361.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1061, allocations: 0 / 361.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.1061, allocations: 7.938 kB / 361.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1061, allocations: 4 kB / 361.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.1061, allocations: 16.17 kB / 361.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1061, allocations: 4 kB / 361.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1061, allocations: 7.938 kB / 361.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.1068, allocations: 0.5368 MB / 362 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.1071, allocations: 248.4 kB / 362.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.641e-05/0.1072, allocations: 12 kB / 362.2 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.1073, allocations: 15.98 kB / 362.3 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.1075, allocations: 27.91 kB / 362.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.1075, allocations: 56 kB / 362.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004583/0.108, allocations: 386.9 kB / 362.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.108, allocations: 0 / 362.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1083, allocations: 51.91 kB / 362.8 MB, free: 7.777 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.0001359/0.1085, allocations: 113.8 kB / 362.9 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004905/0.109, allocations: 433.5 kB / 363.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.109, allocations: 3.938 kB / 363.3 MB, free: 7.184 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.1093, allocations: 381.6 kB / 363.7 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005787/0.1099, allocations: 113.5 kB / 363.8 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.1109, allocations: 0.6497 MB / 364.4 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1113, allocations: 0.806 MB / 365.3 MB, free: 5.152 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.708e-05/0.1114, allocations: 12.72 kB / 365.3 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.1114, allocations: 11.44 kB / 365.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1114, allocations: 0 / 365.3 MB, free: 5.129 MB / 302.1 MB Notification: Performance of Templates: time 0.007193/0.1186, allocations: 4.663 MB / 369.9 MB, free: 412 kB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches