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.001134/0.001134, allocations: 103.5 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.89 kB / 306.4 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1055, allocations: 50.54 MB / 356.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002626/0.1082, allocations: 1.564 MB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.11, allocations: 0.9083 MB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.11, allocations: 4 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.193e-05/0.1101, allocations: 3.984 kB / 359.4 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.1102, allocations: 19.86 kB / 359.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1104, allocations: 39.95 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1106, allocations: 107.7 kB / 359.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1107, allocations: 20.22 kB / 359.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005432/0.1112, allocations: 0.5615 MB / 360.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.1113, allocations: 71.69 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.1114, allocations: 4 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.319e-05/0.1114, allocations: 8 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.1115, allocations: 67.69 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1116, allocations: 107.2 kB / 360.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.112, allocations: 354.7 kB / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.112, allocations: 0 / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.112, allocations: 4 kB / 360.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.112, allocations: 0 / 360.7 MB, free: 10.56 MB / 302.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.0007233/0.1127, allocations: 0.7252 MB / 361.4 MB, free: 9.766 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1128, allocations: 8.031 kB / 361.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.1128, allocations: 38.75 kB / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.1129, allocations: 44.47 kB / 361.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1132, allocations: 270.3 kB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1132, allocations: 8.375 kB / 361.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.1132, allocations: 8.375 kB / 361.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1135, allocations: 133.7 kB / 361.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1135, allocations: 0 / 361.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.1136, allocations: 4 kB / 361.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1136, allocations: 0 / 361.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001501/0.1137, allocations: 63.95 kB / 362 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.1144, allocations: 456.5 kB / 362.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.1146, allocations: 98.48 kB / 362.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.1147, allocations: 84.88 kB / 362.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.1148, allocations: 0 / 362.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.1151, allocations: 218.7 kB / 362.8 MB, free: 8.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 4.028e-06/0.1151, allocations: 3.984 kB / 362.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000806/0.1159, allocations: 479.9 kB / 363.3 MB, free: 7.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.116, allocations: 170.2 kB / 363.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/0.1167, allocations: 0.509 MB / 364 MB, free: 6.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1167, allocations: 29.7 kB / 364 MB, free: 6.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.1168, allocations: 101.1 kB / 364.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.1169, allocations: 27.66 kB / 364.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.117, allocations: 93.34 kB / 364.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1171, allocations: 322.7 kB / 364.6 MB, free: 6.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.1173, allocations: 63.95 kB / 364.6 MB, free: 6.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.1174, allocations: 69.69 kB / 364.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.1178, allocations: 347.3 kB / 365 MB, free: 5.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1178, allocations: 0 / 365 MB, free: 5.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005393/0.1183, allocations: 399.4 kB / 365.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.991e-05/0.1184, allocations: 126.8 kB / 365.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1185, allocations: 0 / 365.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1185, allocations: 4 kB / 365.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-05/0.1185, allocations: 0 / 365.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1185, allocations: 80 / 365.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.1186, allocations: 12.11 kB / 365.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-05/0.1187, allocations: 67.92 kB / 365.6 MB, free: 5.23 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.0003453/0.1191, allocations: 371.7 kB / 366 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.1191, allocations: 35.62 kB / 366 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.1192, allocations: 63.16 kB / 366.1 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1193, allocations: 3.984 kB / 366.1 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1193, allocations: 4 kB / 366.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1193, allocations: 0 / 366.1 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009871/0.1203, allocations: 0.821 MB / 366.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1203, allocations: 0 / 366.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-06/0.1203, allocations: 0 / 366.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.1203, allocations: 8 kB / 366.9 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.1203, allocations: 12.11 kB / 366.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1203, allocations: 3.938 kB / 366.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1203, allocations: 7.938 kB / 366.9 MB, free: 3.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.121, allocations: 0.5291 MB / 367.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.1213, allocations: 248.4 kB / 367.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.1214, allocations: 12 kB / 367.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1215, allocations: 11.98 kB / 367.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.1217, allocations: 35.91 kB / 367.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.1217, allocations: 55.94 kB / 367.8 MB, free: 2.844 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004548/0.1222, allocations: 386.9 kB / 368.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1222, allocations: 0 / 368.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1225, allocations: 47.94 kB / 368.3 MB, free: 2.418 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.001013/0.1235, allocations: 1.089 MB / 369.3 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000534/0.1241, allocations: 433.5 kB / 369.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1241, allocations: 0 / 369.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.1244, allocations: 377.5 kB / 370.1 MB, free: 396 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.1251, allocations: 116.7 kB / 370.2 MB, free: 284 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1579/0.283, allocations: 2.798 MB / 373 MB, free: 19.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.2834, allocations: 0.7973 MB / 373.8 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.44e-05/0.2834, allocations: 14.8 kB / 373.9 MB, free: 18.54 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.2835, allocations: 27.38 kB / 373.9 MB, free: 18.53 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.2835, allocations: 4.281 kB / 373.9 MB, free: 18.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.2999, allocations: 5.625 MB / 379.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/0.3, allocations: 193 kB / 379.7 MB, free: 17.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.064, allocations: 1.281 kB / 379.7 MB, free: 17.59 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 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.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_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches