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/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 trunk/package.mo", uses=false) 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) 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_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/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001436, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3174, allocations: 50.55 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002385/0.3198, allocations: 1.515 MB / 410.8 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3216, allocations: 0.8795 MB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.3217, allocations: 0 / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.902e-05/0.3218, allocations: 11.86 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.344e-05/0.3219, allocations: 15.86 kB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3221, allocations: 51.88 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3223, allocations: 143.7 kB / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.693e-05/0.3224, allocations: 20.22 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005523/0.323, allocations: 0.5732 MB / 412.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3231, allocations: 75.69 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.375e-05/0.3232, allocations: 8 kB / 412.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.207e-05/0.3232, allocations: 12 kB / 412.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3234, allocations: 63.77 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.3235, allocations: 119.1 kB / 412.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.324, allocations: 374.7 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.324, allocations: 0 / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.145e-06/0.324, allocations: 0 / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.324, allocations: 7.875 kB / 413.1 MB, free: 13.71 MB / 334.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.0008914/0.3249, allocations: 0.7122 MB / 413.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3249, allocations: 12.02 kB / 413.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.593e-05/0.325, allocations: 36.56 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3253, allocations: 270.3 kB / 414.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.3253, allocations: 12.31 kB / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.3254, allocations: 8.375 kB / 414.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.3257, allocations: 137.9 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3257, allocations: 0 / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.3257, allocations: 4 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3257, allocations: 3.938 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.3259, allocations: 59.95 kB / 414.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.3265, allocations: 464.4 kB / 414.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.3267, allocations: 106.5 kB / 414.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.3269, allocations: 80.89 kB / 415 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.3269, allocations: 0 / 415 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.3272, allocations: 206.6 kB / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.3272, allocations: 0 / 415.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007546/0.328, allocations: 479.4 kB / 415.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.3281, allocations: 170.2 kB / 415.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.3287, allocations: 0.5169 MB / 416.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.3287, allocations: 29.7 kB / 416.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.3288, allocations: 101.1 kB / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.3288, allocations: 27.64 kB / 416.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.329, allocations: 89.31 kB / 416.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3291, allocations: 326.8 kB / 416.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3292, allocations: 59.97 kB / 417 MB, free: 9.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3293, allocations: 69.69 kB / 417 MB, free: 9.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.3297, allocations: 343.3 kB / 417.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3297, allocations: 0 / 417.4 MB, free: 9.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005103/0.3302, allocations: 392.4 kB / 417.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.18e-05/0.3303, allocations: 122.8 kB / 417.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3303, allocations: 0 / 417.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3303, allocations: 4.031 kB / 417.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.108e-05/0.3303, allocations: 128 / 417.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3304, allocations: 8 kB / 417.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.3305, allocations: 15.92 kB / 417.9 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.3306, allocations: 59.94 kB / 417.9 MB, free: 8.438 MB / 334.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.000318/0.3309, allocations: 370.6 kB / 418.3 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.3309, allocations: 35.53 kB / 418.3 MB, free: 8.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.3311, allocations: 67.14 kB / 418.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3311, allocations: 0 / 418.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3311, allocations: 7.938 kB / 418.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3311, allocations: 0 / 418.4 MB, free: 7.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.332, allocations: 0.8174 MB / 419.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.332, allocations: 3.938 kB / 419.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.332, allocations: 0 / 419.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.332, allocations: 0 / 419.2 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.332, allocations: 12 kB / 419.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.332, allocations: 3.984 kB / 419.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3321, allocations: 7.875 kB / 419.3 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.3327, allocations: 0.5403 MB / 419.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.333, allocations: 240.5 kB / 420 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.333, allocations: 11.98 kB / 420 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3332, allocations: 15.98 kB / 420.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.3333, allocations: 27.91 kB / 420.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.3333, allocations: 59.94 kB / 420.1 MB, free: 6.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004238/0.3338, allocations: 390.9 kB / 420.5 MB, free: 5.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3338, allocations: 0 / 420.5 MB, free: 5.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.3341, allocations: 44 kB / 420.6 MB, free: 5.637 MB / 334.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.0001345/0.3342, allocations: 118 kB / 420.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004996/0.3347, allocations: 441.5 kB / 421.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3347, allocations: 0 / 421.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003139/0.335, allocations: 373.6 kB / 421.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006104/0.3357, allocations: 121.3 kB / 421.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009872/0.3367, allocations: 0.6537 MB / 422.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.337, allocations: 0.7944 MB / 423.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.3371, allocations: 8.656 kB / 423.1 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.3371, allocations: 11.44 kB / 423.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3371, allocations: 0 / 423.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Templates: time 0.007298/0.3444, allocations: 4.665 MB / 427.7 MB, free: 14.25 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches