Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001336/0.001336, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001379/0.001379, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 227.7 MB / 247.7 MB, free: 10.3 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.55 kB / 307.9 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1066, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003021/0.1097, allocations: 1.514 MB / 359.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.1118, allocations: 0.8787 MB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.1119, allocations: 4 kB / 360.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.563e-05/0.112, allocations: 15.86 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.112, allocations: 19.84 kB / 360.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.1123, allocations: 51.88 kB / 360.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1125, allocations: 135.7 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1126, allocations: 20.22 kB / 361.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006414/0.1133, allocations: 0.5654 MB / 361.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1134, allocations: 71.7 kB / 361.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.1135, allocations: 8 kB / 361.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.95e-05/0.1135, allocations: 12 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.1136, allocations: 59.77 kB / 361.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.1138, allocations: 127.1 kB / 361.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1142, allocations: 362.7 kB / 362.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1142, allocations: 3.984 kB / 362.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1142, allocations: 0 / 362.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1142, allocations: 0 / 362.3 MB, free: 10.08 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.0008385/0.1151, allocations: 0.7231 MB / 363 MB, free: 9.281 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1151, allocations: 8.031 kB / 363 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.448e-05/0.1152, allocations: 40.47 kB / 363 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.1155, allocations: 274.3 kB / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.1156, allocations: 8.375 kB / 363.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1156, allocations: 8.375 kB / 363.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.116, allocations: 129.9 kB / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.116, allocations: 0 / 363.4 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.116, allocations: 4 kB / 363.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.116, allocations: 0 / 363.4 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.1162, allocations: 63.95 kB / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007071/0.1169, allocations: 460.5 kB / 364 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.1171, allocations: 94.53 kB / 364.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.1173, allocations: 84.89 kB / 364.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1173, allocations: 4.109 kB / 364.1 MB, free: 8.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/0.1177, allocations: 222.5 kB / 364.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1178, allocations: 0 / 364.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009001/0.1187, allocations: 480.1 kB / 364.8 MB, free: 7.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.1188, allocations: 166.2 kB / 365 MB, free: 7.078 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/0.1196, allocations: 0.513 MB / 365.5 MB, free: 6.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.1196, allocations: 33.7 kB / 365.5 MB, free: 6.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.1198, allocations: 109 kB / 365.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/0.1198, allocations: 27.66 kB / 365.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.12, allocations: 81.41 kB / 365.7 MB, free: 6.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.1202, allocations: 330.8 kB / 366.1 MB, free: 5.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1203, allocations: 55.97 kB / 366.1 MB, free: 5.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.1205, allocations: 73.69 kB / 366.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/0.1209, allocations: 347.2 kB / 366.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1209, allocations: 0 / 366.5 MB, free: 5.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006351/0.1215, allocations: 387.7 kB / 366.9 MB, free: 5.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1217, allocations: 128.8 kB / 367 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1217, allocations: 0 / 367 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.1217, allocations: 7.938 kB / 367 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.787e-05/0.1217, allocations: 3.938 kB / 367.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1217, allocations: 0 / 367.1 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.1219, allocations: 11.98 kB / 367.1 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.122, allocations: 59.97 kB / 367.1 MB, free: 4.797 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.0004173/0.1224, allocations: 362.8 kB / 367.5 MB, free: 4.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/0.1225, allocations: 35.62 kB / 367.5 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1226, allocations: 67.14 kB / 367.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1226, allocations: 0 / 367.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1226, allocations: 0 / 367.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1227, allocations: 0 / 367.6 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.1238, allocations: 0.8327 MB / 368.4 MB, free: 3.387 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1238, allocations: 4 kB / 368.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.1238, allocations: 0 / 368.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1238, allocations: 0 / 368.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.1238, allocations: 12 kB / 368.4 MB, free: 3.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1239, allocations: 3.984 kB / 368.4 MB, free: 3.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1239, allocations: 4.125 kB / 368.4 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007223/0.1246, allocations: 0.5292 MB / 369 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.125, allocations: 256.3 kB / 369.2 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.125, allocations: 12 kB / 369.2 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1252, allocations: 8 kB / 369.2 MB, free: 2.504 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.1253, allocations: 31.91 kB / 369.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.1253, allocations: 55.94 kB / 369.3 MB, free: 2.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006509/0.126, allocations: 390.9 kB / 369.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.126, allocations: 0 / 369.7 MB, free: 2.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.1263, allocations: 44 kB / 369.7 MB, free: 1.996 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.0001624/0.1265, allocations: 117.8 kB / 369.9 MB, free: 1.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006929/0.1272, allocations: 441.5 kB / 370.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1272, allocations: 0 / 370.3 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.1276, allocations: 381.5 kB / 370.7 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.1283, allocations: 119.8 kB / 370.8 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1295, allocations: 0.7022 MB / 371.5 MB, free: 132 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1396/0.2691, allocations: 0.7932 MB / 372.3 MB, free: 19.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.128e-05/0.2692, allocations: 11.91 kB / 372.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2692, allocations: 2.906 kB / 372.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of Templates: time 0.005029/0.2742, allocations: 2.69 MB / 375 MB, free: 19.74 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches