Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009528/0.0009529, allocations: 100.1 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009252/0.0009252, allocations: 55.91 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2026, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002055/0.2047, allocations: 1.569 MB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2061, allocations: 0.9039 MB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.2062, allocations: 0 / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.2063, allocations: 7.922 kB / 409.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.731e-05/0.2064, allocations: 15.61 kB / 409.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.2066, allocations: 47.89 kB / 409.6 MB, free: 25.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.2067, allocations: 119.6 kB / 409.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2069, allocations: 12.23 kB / 409.7 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.2073, allocations: 0.5615 MB / 410.3 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.2074, allocations: 63.77 kB / 410.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.2074, allocations: 4 kB / 410.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.04e-05/0.2075, allocations: 8 kB / 410.4 MB, free: 24.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.2076, allocations: 71.69 kB / 410.4 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.2077, allocations: 107.2 kB / 410.5 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.2079, allocations: 358.7 kB / 410.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2079, allocations: 0 / 410.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2079, allocations: 0 / 410.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2079, allocations: 0 / 410.9 MB, free: 23.96 MB / 298.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.0005359/0.2085, allocations: 0.7282 MB / 411.6 MB, free: 23.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2085, allocations: 8.031 kB / 411.6 MB, free: 23.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/0.2086, allocations: 36.56 kB / 411.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.2088, allocations: 270.3 kB / 411.9 MB, free: 22.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.2088, allocations: 12.38 kB / 411.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.2089, allocations: 4.375 kB / 411.9 MB, free: 22.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.2091, allocations: 133.9 kB / 412.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2091, allocations: 0 / 412.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.2092, allocations: 4 kB / 412.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.2092, allocations: 4 kB / 412.1 MB, free: 22.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2093, allocations: 59.91 kB / 412.1 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.2098, allocations: 464.5 kB / 412.6 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.21, allocations: 94.53 kB / 412.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.2101, allocations: 85 kB / 412.8 MB, free: 21.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.2101, allocations: 7.875 kB / 412.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.2104, allocations: 208.2 kB / 413 MB, free: 21.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.2104, allocations: 3.984 kB / 413 MB, free: 21.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006462/0.211, allocations: 484 kB / 413.4 MB, free: 21.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.2111, allocations: 170.2 kB / 413.6 MB, free: 20.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.2115, allocations: 0.5091 MB / 414.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.2116, allocations: 37.64 kB / 414.2 MB, free: 20.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.2116, allocations: 101 kB / 414.3 MB, free: 20.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.2117, allocations: 19.72 kB / 414.3 MB, free: 20.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.358e-05/0.2117, allocations: 89.41 kB / 414.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.527e-05/0.2118, allocations: 326.8 kB / 414.7 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2119, allocations: 59.97 kB / 414.7 MB, free: 19.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.212, allocations: 72.92 kB / 414.8 MB, free: 19.72 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002236/0.2122, allocations: 344.4 kB / 415.1 MB, free: 19.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2123, allocations: 4.047 kB / 415.2 MB, free: 19.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003862/0.2126, allocations: 391.7 kB / 415.5 MB, free: 18.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-05/0.2127, allocations: 130.7 kB / 415.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2127, allocations: 0 / 415.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2127, allocations: 0 / 415.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.841e-05/0.2128, allocations: 3.938 kB / 415.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2128, allocations: 7.984 kB / 415.7 MB, free: 18.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.2129, allocations: 15.84 kB / 415.7 MB, free: 18.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.213, allocations: 55.94 kB / 415.7 MB, free: 18.68 MB / 298.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.0002153/0.2132, allocations: 370.7 kB / 416.1 MB, free: 18.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2132, allocations: 31.62 kB / 416.1 MB, free: 18.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.952e-05/0.2133, allocations: 75.12 kB / 416.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2133, allocations: 0 / 416.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2133, allocations: 0 / 416.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2133, allocations: 0 / 416.2 MB, free: 18.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006651/0.214, allocations: 0.825 MB / 417 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.214, allocations: 0 / 417 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-06/0.214, allocations: 0 / 417 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.214, allocations: 0 / 417 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.214, allocations: 23.98 kB / 417.1 MB, free: 17.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2141, allocations: 0 / 417.1 MB, free: 17.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2141, allocations: 3.938 kB / 417.1 MB, free: 17.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.2148, allocations: 1.198 MB / 418.3 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.215, allocations: 248.4 kB / 418.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.2151, allocations: 8 kB / 418.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2152, allocations: 24.08 kB / 418.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.2153, allocations: 27.97 kB / 418.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.2154, allocations: 56 kB / 418.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003458/0.2157, allocations: 390.9 kB / 419 MB, free: 15.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2157, allocations: 0 / 419 MB, free: 15.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.2161, allocations: 40 kB / 419 MB, free: 15.16 MB / 298.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.0001182/0.2162, allocations: 109.9 kB / 419.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003693/0.2166, allocations: 449.5 kB / 419.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2166, allocations: 0 / 419.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002165/0.2168, allocations: 373.6 kB / 419.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.2174, allocations: 107.8 kB / 420.1 MB, free: 14.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009863/0.2184, allocations: 0.9004 MB / 421 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2187, allocations: 0.8024 MB / 421.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.671e-05/0.2187, allocations: 12.66 kB / 421.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.2187, allocations: 11.44 kB / 421.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2187, allocations: 3.938 kB / 421.8 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Templates: time 0.005664/0.2244, allocations: 4.52 MB / 426.3 MB, free: 7.656 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches