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.001398/0.001398, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 61.59 kB / 306.6 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 50.52 MB / 357.1 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002668/0.113, allocations: 1.584 MB / 358.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1148, allocations: 0.8811 MB / 359.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.67e-05/0.1148, allocations: 0 / 359.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.34e-05/0.115, allocations: 3.984 kB / 359.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.831e-05/0.115, allocations: 19.86 kB / 359.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1153, allocations: 43.95 kB / 359.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1155, allocations: 135.7 kB / 359.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1156, allocations: 24.22 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005471/0.1162, allocations: 0.5654 MB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1163, allocations: 75.69 kB / 360.4 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.1163, allocations: 8 kB / 360.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.1164, allocations: 12 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.1165, allocations: 63.7 kB / 360.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.1166, allocations: 115.2 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1169, allocations: 366.7 kB / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1169, allocations: 0 / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1169, allocations: 0 / 361 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.117, allocations: 4 kB / 361 MB, free: 10.44 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.0007397/0.1177, allocations: 0.7191 MB / 361.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.1178, allocations: 12.02 kB / 361.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.1178, allocations: 38.75 kB / 361.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.615e-05/0.1179, allocations: 40.47 kB / 361.8 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1181, allocations: 274.3 kB / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1182, allocations: 4.375 kB / 362 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.1182, allocations: 8.375 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.1185, allocations: 141.6 kB / 362.2 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1185, allocations: 4 kB / 362.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1186, allocations: 4 kB / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1186, allocations: 0 / 362.2 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.1187, allocations: 55.97 kB / 362.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006293/0.1194, allocations: 460.5 kB / 362.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1195, allocations: 102.5 kB / 362.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1197, allocations: 84.89 kB / 362.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.1197, allocations: 0 / 362.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/0.12, allocations: 210.6 kB / 363.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1201, allocations: 0 / 363.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007714/0.1208, allocations: 479.9 kB / 363.6 MB, free: 7.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.1209, allocations: 170.2 kB / 363.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.1215, allocations: 0.5168 MB / 364.2 MB, free: 6.875 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1215, allocations: 29.7 kB / 364.3 MB, free: 6.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.1216, allocations: 97.12 kB / 364.4 MB, free: 6.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.1217, allocations: 31.64 kB / 364.4 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.1218, allocations: 81.42 kB / 364.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1219, allocations: 330.7 kB / 364.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.122, allocations: 55.97 kB / 364.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.1222, allocations: 81.67 kB / 364.9 MB, free: 6.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.1225, allocations: 335.3 kB / 365.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1225, allocations: 0 / 365.3 MB, free: 5.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000533/0.123, allocations: 396.2 kB / 365.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.415e-05/0.1231, allocations: 126.8 kB / 365.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1232, allocations: 128 / 365.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1232, allocations: 4 kB / 365.8 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.961e-05/0.1232, allocations: 4 kB / 365.8 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1232, allocations: 8.094 kB / 365.8 MB, free: 5.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1234, allocations: 8 kB / 365.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.1234, allocations: 63.92 kB / 365.9 MB, free: 5.117 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.0003434/0.1238, allocations: 379.6 kB / 366.2 MB, free: 4.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.1238, allocations: 35.62 kB / 366.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.803e-05/0.1239, allocations: 59.16 kB / 366.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1239, allocations: 0 / 366.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.124, allocations: 0 / 366.3 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.124, allocations: 4 kB / 366.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/0.1249, allocations: 0.8249 MB / 367.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1249, allocations: 0 / 367.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-06/0.1249, allocations: 0 / 367.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.125, allocations: 112 / 367.1 MB, free: 3.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.125, allocations: 19.92 kB / 367.2 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.125, allocations: 3.938 kB / 367.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.125, allocations: 3.938 kB / 367.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.1256, allocations: 0.5408 MB / 367.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.1259, allocations: 244.4 kB / 368 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.126, allocations: 8 kB / 368 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1261, allocations: 15.98 kB / 368 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.1263, allocations: 23.92 kB / 368 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.1263, allocations: 63.92 kB / 368.1 MB, free: 2.727 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004593/0.1268, allocations: 386.9 kB / 368.4 MB, free: 2.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1268, allocations: 0 / 368.4 MB, free: 2.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1271, allocations: 43.94 kB / 368.5 MB, free: 2.305 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.0009973/0.1281, allocations: 1.103 MB / 369.6 MB, free: 1.152 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.1286, allocations: 433.5 kB / 370 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1286, allocations: 0 / 370 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003059/0.1289, allocations: 381.5 kB / 370.4 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.1295, allocations: 128.9 kB / 370.5 MB, free: 148 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1715/0.3011, allocations: 2.791 MB / 373.3 MB, free: 19.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.3014, allocations: 0.8068 MB / 374.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.703e-05/0.3015, allocations: 7.156 kB / 374.1 MB, free: 18.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.3015, allocations: 26.25 kB / 374.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3015, allocations: 0 / 374.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.3188, allocations: 5.802 MB / 379.9 MB, free: 17.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001343/0.319, allocations: 209.9 kB / 380.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.261, allocations: 0 / 380.1 MB, free: 17.53 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