Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 88.34 kB / 17.3 MB, free: 5.59 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.0009701/0.0009701, allocations: 179.2 kB / 18.21 MB, free: 5.191 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.267/1.267, allocations: 223.3 MB / 242.3 MB, free: 14.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002286, allocations: 8.578 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07387/0.07412, allocations: 50.41 MB / 352.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001332/0.07546, allocations: 1.227 MB / 353.7 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.07703, allocations: 0.8624 MB / 354.6 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.556e-05/0.07707, allocations: 0 / 354.6 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.347e-05/0.07715, allocations: 3.938 kB / 354.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.07722, allocations: 19.92 kB / 354.6 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.07742, allocations: 43.95 kB / 354.6 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.07756, allocations: 107.7 kB / 354.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.07765, allocations: 28.2 kB / 354.8 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.0782, allocations: 0.5498 MB / 355.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.07831, allocations: 71.69 kB / 355.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.07835, allocations: 0 / 355.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.445e-05/0.07838, allocations: 4 kB / 355.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.708e-05/0.07847, allocations: 67.77 kB / 355.5 MB, free: 468 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.07859, allocations: 132.8 kB / 355.6 MB, free: 328 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.07883, allocations: 295.3 kB / 355.9 MB, free: 32 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.07884, allocations: 4 kB / 355.9 MB, free: 28 kB / 286.1 MB Notification: Performance of FrontEnd: time 6.02e-07/0.07884, allocations: 0 / 355.9 MB, free: 28 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.07885, allocations: 0 / 355.9 MB, free: 28 kB / 286.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.0005752/0.07943, allocations: 0.6531 MB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.07947, allocations: 15.97 kB / 356.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.07954, allocations: 36.47 kB / 356.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.07978, allocations: 278.3 kB / 356.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.07981, allocations: 4.375 kB / 356.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.07985, allocations: 8.375 kB / 356.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.08014, allocations: 133.9 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.08015, allocations: 3.938 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.08018, allocations: 8 kB / 357 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.08019, allocations: 0 / 357 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.08035, allocations: 67.89 kB / 357.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.08092, allocations: 456.6 kB / 357.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.08112, allocations: 90.55 kB / 357.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.08128, allocations: 92.81 kB / 357.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.0813, allocations: 4 kB / 357.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.08159, allocations: 202.7 kB / 357.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.08161, allocations: 4 kB / 357.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007595/0.08237, allocations: 471.9 kB / 358.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.08247, allocations: 174.1 kB / 358.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/0.08308, allocations: 0.5091 MB / 359.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.08311, allocations: 29.7 kB / 359.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.08317, allocations: 101 kB / 359.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.08322, allocations: 27.66 kB / 359.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.08327, allocations: 25.7 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.08337, allocations: 338.7 kB / 359.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.08351, allocations: 55.97 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.08365, allocations: 69.69 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.08397, allocations: 347.4 kB / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.08398, allocations: 0 / 360 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005234/0.08451, allocations: 392 kB / 360.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.425e-05/0.08459, allocations: 133.6 kB / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.08461, allocations: 0 / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.08462, allocations: 0 / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.544e-05/0.08464, allocations: 0 / 360.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.08465, allocations: 4 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.0848, allocations: 11.98 kB / 360.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.08487, allocations: 55.94 kB / 360.6 MB, free: 10.89 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003141/0.0852, allocations: 370.8 kB / 361 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-05/0.08526, allocations: 43.53 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.99e-05/0.08536, allocations: 71.14 kB / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.08537, allocations: 0 / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.08538, allocations: 112 / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.08539, allocations: 7.938 kB / 361.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009101/0.08631, allocations: 0.8173 MB / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.08632, allocations: 0 / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-06/0.08633, allocations: 0 / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.08634, allocations: 0 / 361.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.08637, allocations: 12 kB / 361.9 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.08638, allocations: 7.984 kB / 361.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.08638, allocations: 3.938 kB / 361.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.087, allocations: 0.5329 MB / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.0873, allocations: 248.5 kB / 362.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.08737, allocations: 15.98 kB / 362.7 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.08752, allocations: 11.94 kB / 362.7 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.08762, allocations: 31.91 kB / 362.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.08768, allocations: 56 kB / 362.8 MB, free: 8.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004475/0.08814, allocations: 390.9 kB / 363.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08814, allocations: 0 / 363.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000298/0.08845, allocations: 51.84 kB / 363.3 MB, free: 8.059 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001026/0.08855, allocations: 114.9 kB / 363.4 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004802/0.08904, allocations: 433.5 kB / 363.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.08905, allocations: 0 / 363.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.08937, allocations: 385.8 kB / 364.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006177/0.09, allocations: 101.6 kB / 364.3 MB, free: 6.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.09107, allocations: 0.8107 MB / 365.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.09144, allocations: 0.7985 MB / 365.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.09147, allocations: 11.44 kB / 365.9 MB, free: 5.258 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09148, allocations: 3.938 kB / 365.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of Templates: time 0.004053/0.09553, allocations: 2.662 MB / 368.6 MB, free: 2.551 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches