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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001805/0.001805, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002351/0.002351, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2972, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002652/0.2999, allocations: 1.515 MB / 410.3 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.302, allocations: 0.8834 MB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.3021, allocations: 4 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.3022, allocations: 11.86 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.184e-05/0.3024, allocations: 19.86 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.3027, allocations: 51.88 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.303, allocations: 135.8 kB / 411.4 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3031, allocations: 23.73 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000641/0.3037, allocations: 0.5654 MB / 412 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3039, allocations: 75.69 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.304, allocations: 12 kB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.221e-05/0.304, allocations: 12 kB / 412.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-05/0.3041, allocations: 59.77 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.3042, allocations: 115.1 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.3046, allocations: 377.4 kB / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3047, allocations: 0 / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3047, allocations: 0 / 412.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3047, allocations: 0 / 412.6 MB, free: 13.69 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.0008778/0.3056, allocations: 0.7267 MB / 413.3 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3056, allocations: 12.03 kB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.3057, allocations: 42.75 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.3058, allocations: 44.69 kB / 413.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.3061, allocations: 278.6 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.3061, allocations: 4.375 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.3061, allocations: 8.375 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.3065, allocations: 129.7 kB / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3065, allocations: 0 / 413.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.3065, allocations: 11.94 kB / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3065, allocations: 0 / 413.8 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.3067, allocations: 59.95 kB / 413.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007109/0.3074, allocations: 472.4 kB / 414.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3076, allocations: 94.55 kB / 414.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.3078, allocations: 88.88 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.3078, allocations: 0 / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.3082, allocations: 214 kB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.3082, allocations: 0 / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008394/0.3091, allocations: 476.3 kB / 415.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.3092, allocations: 170.2 kB / 415.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006721/0.3099, allocations: 0.5168 MB / 415.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.3099, allocations: 29.7 kB / 415.9 MB, free: 10.05 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.601e-05/0.31, allocations: 105 kB / 416 MB, free: 9.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.3101, allocations: 23.84 kB / 416.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3102, allocations: 93.55 kB / 416.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3104, allocations: 326.8 kB / 416.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.3105, allocations: 55.97 kB / 416.5 MB, free: 9.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.3106, allocations: 69.69 kB / 416.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.311, allocations: 343.2 kB / 416.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.311, allocations: 0 / 416.9 MB, free: 8.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005809/0.3116, allocations: 400.3 kB / 417.3 MB, free: 8.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.3117, allocations: 122.8 kB / 417.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3117, allocations: 0 / 417.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3118, allocations: 0 / 417.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.218e-05/0.3118, allocations: 3.938 kB / 417.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3118, allocations: 4 kB / 417.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3119, allocations: 11.98 kB / 417.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.312, allocations: 59.94 kB / 417.5 MB, free: 8.336 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.0003867/0.3124, allocations: 362.9 kB / 417.9 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.3125, allocations: 43.8 kB / 417.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.3126, allocations: 71.12 kB / 418 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3126, allocations: 0 / 418 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3126, allocations: 0 / 418 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.3126, allocations: 4.094 kB / 418 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3137, allocations: 0.8247 MB / 418.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3137, allocations: 0 / 418.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-06/0.3137, allocations: 0 / 418.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3137, allocations: 0 / 418.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.3138, allocations: 12 kB / 418.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3138, allocations: 4 kB / 418.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3138, allocations: 7.922 kB / 418.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006876/0.3145, allocations: 0.5332 MB / 419.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.3148, allocations: 252.6 kB / 419.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.3149, allocations: 11.98 kB / 419.6 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.315, allocations: 12 kB / 419.6 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3151, allocations: 27.91 kB / 419.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.3152, allocations: 63.94 kB / 419.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004943/0.3157, allocations: 386.9 kB / 420.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3157, allocations: 0 / 420.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002897/0.316, allocations: 40 kB / 420.1 MB, free: 5.535 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.001112/0.3171, allocations: 1.096 MB / 421.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.3177, allocations: 441.5 kB / 421.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3177, allocations: 0 / 421.7 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.3181, allocations: 373.9 kB / 422 MB, free: 3.496 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.3187, allocations: 133.9 kB / 422.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003703/0.3224, allocations: 2.745 MB / 424.9 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.323, allocations: 0.8099 MB / 425.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.3231, allocations: 4.672 kB / 425.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.3232, allocations: 31.42 kB / 425.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3232, allocations: 0 / 425.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03238/0.3556, allocations: 6.026 MB / 431.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.926/8.282, allocations: 0 / 431.8 MB, free: 9.613 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/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_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches