Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 101.8 kB / 16.5 MB, free: 6.645 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.001078/0.001078, allocations: 194.1 kB / 17.42 MB, free: 6.066 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001076/0.001076, allocations: 41.31 kB / 300.1 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1008, allocations: 49.45 MB / 349.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002803/0.1036, allocations: 1.559 MB / 351.1 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.1055, allocations: 0.8733 MB / 351.9 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.196e-05/0.1056, allocations: 3.938 kB / 351.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.906e-05/0.1057, allocations: 3.984 kB / 351.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.1058, allocations: 19.84 kB / 352 MB, free: 2.055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1061, allocations: 39.97 kB / 352 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1062, allocations: 103.7 kB / 352.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1063, allocations: 32.2 kB / 352.1 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.1069, allocations: 0.5576 MB / 352.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.107, allocations: 67.75 kB / 352.8 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.1071, allocations: 4 kB / 352.8 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.483e-05/0.1071, allocations: 7.938 kB / 352.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.043e-05/0.1072, allocations: 59.77 kB / 352.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1073, allocations: 111.2 kB / 352.9 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.1077, allocations: 362.6 kB / 353.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1077, allocations: 0 / 353.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1077, allocations: 4 kB / 353.3 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1077, allocations: 0 / 353.3 MB, free: 0.7148 MB / 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.0007615/0.1085, allocations: 0.7191 MB / 354 MB, free: 15.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.1085, allocations: 12.03 kB / 354 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.1086, allocations: 38.75 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.417e-05/0.1087, allocations: 36.47 kB / 354.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1089, allocations: 274.3 kB / 354.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.109, allocations: 4.375 kB / 354.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.109, allocations: 12.38 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.1093, allocations: 137.7 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1093, allocations: 3.938 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.1094, allocations: 4 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1094, allocations: 4 kB / 354.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.1095, allocations: 59.95 kB / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000734/0.1103, allocations: 452.6 kB / 355 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.1105, allocations: 102.5 kB / 355.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1107, allocations: 84.88 kB / 355.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1107, allocations: 4 kB / 355.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004099/0.1111, allocations: 208.1 kB / 355.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.1111, allocations: 0 / 355.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008027/0.112, allocations: 476.1 kB / 355.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.854e-05/0.1121, allocations: 174.2 kB / 356.1 MB, free: 13.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006021/0.1127, allocations: 0.513 MB / 356.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.1127, allocations: 29.81 kB / 356.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.1128, allocations: 109 kB / 356.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.1128, allocations: 31.64 kB / 356.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.113, allocations: 85.41 kB / 356.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1131, allocations: 322.8 kB / 357.1 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1132, allocations: 59.97 kB / 357.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1134, allocations: 77.62 kB / 357.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.1137, allocations: 346.3 kB / 357.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1138, allocations: 0 / 357.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005544/0.1143, allocations: 392.2 kB / 358 MB, free: 11.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.1144, allocations: 121.6 kB / 358.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1144, allocations: 4 kB / 358.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1144, allocations: 32 / 358.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.142e-05/0.1145, allocations: 4 kB / 358.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1145, allocations: 0 / 358.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.1146, allocations: 19.98 kB / 358.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.1147, allocations: 55.94 kB / 358.2 MB, free: 11.39 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.000326/0.1151, allocations: 362.9 kB / 358.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.1151, allocations: 39.61 kB / 358.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1152, allocations: 67.14 kB / 358.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1152, allocations: 4 kB / 358.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1153, allocations: 7.938 kB / 358.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1153, allocations: 0 / 358.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009619/0.1162, allocations: 0.8172 MB / 359.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1162, allocations: 0 / 359.5 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-06/0.1163, allocations: 4 kB / 359.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1163, allocations: 0 / 359.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.1163, allocations: 15.98 kB / 359.5 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1163, allocations: 7.984 kB / 359.5 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1163, allocations: 7.875 kB / 359.5 MB, free: 9.949 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006457/0.117, allocations: 0.5361 MB / 360.1 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/0.1173, allocations: 244.4 kB / 360.3 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.1174, allocations: 15.98 kB / 360.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.1175, allocations: 8 kB / 360.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.1176, allocations: 27.91 kB / 360.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/0.1177, allocations: 56 kB / 360.4 MB, free: 9.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004496/0.1182, allocations: 386.9 kB / 360.8 MB, free: 8.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1182, allocations: 11.94 kB / 360.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.1185, allocations: 43.94 kB / 360.8 MB, free: 8.578 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.0009693/0.1195, allocations: 1.092 MB / 361.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005227/0.12, allocations: 437.6 kB / 362.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.12, allocations: 0 / 362.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.1204, allocations: 381.6 kB / 362.7 MB, free: 6.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.121, allocations: 116 kB / 362.8 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.1244, allocations: 2.798 MB / 365.6 MB, free: 3.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.1248, allocations: 0.7986 MB / 366.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.86e-05/0.1249, allocations: 8.656 kB / 366.4 MB, free: 2.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.1249, allocations: 27.42 kB / 366.5 MB, free: 2.656 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1249, allocations: 0 / 366.5 MB, free: 2.656 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1708/0.2958, allocations: 5.612 MB / 372.1 MB, free: 25.51 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001448/0.2959, allocations: 195.8 kB / 372.3 MB, free: 25.26 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.17, allocations: 0 / 372.3 MB, free: 25.26 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches